Question: 2. The computer code that follows simulates the weights of a sample of 100 males and 100 females, using a normal distribution with mean 50


2. The computer code that follows simulates the weights of a sample of 100 males and 100 females, using a normal distribution with mean 50 and standard deviation 15 for the females and mean 60 and standard deviation 15 for males from the model: where y is weight and xi takes the value 1 for males and 0 for females: n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
