Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The length of a species of fish is to be represented as a function of the age and water temperature. The fish are kept in

  1. The length of a species of fish is to be represented as a function of the age and water temperature. The fish are kept in tanks at 25, 27, 29 and 31 degrees Celsius. After birth, a test specimen is chosen at random every 14 days and its length measured.
data=read.csv("http://bsmith.mathstat.dal.ca/stat3340/Data/fish.csv",header=T) age=data[,1] temp=data[,2] length=data[,3] N=dim(data)[1] y=length X=cbind(rep(1,N),age,temp) X[1:3,] ## age temp ## [1,] 1 14 25 ## [2,] 1 28 25 ## [3,] 1 41 25 

Fit the modely=0+1x1+2x2+

y=0+1x1+2x2+

using matrix commands in R. Calculate and display the 3x3 matrixXX

.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A First Course in Differential Equations with Modeling Applications

Authors: Dennis G. Zill

11th edition

1305965728, 978-1305965720

More Books

Students also viewed these Mathematics questions

Question

1. What criteria should you use to define project goals?

Answered: 1 week ago