• No results found

Aim of the lab - Correlation - Linear regression

N/A
N/A
Protected

Academic year: 2021

Share "Aim of the lab - Correlation - Linear regression"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

L

AB

5

Aim of the lab - Correlation - Linear regression

Scatter plot

1. Suppose you want to investigate whether child’s birth weight (bwt) is related to weight of mother at last menstrual period (lwt). Draw a scatter plot of these two variables (h scatter) and describe it.

2. Calculate the Pearson’s (h pwcorr) and Spearman’s (h spearman) correlation coefficients and test the hypotheses that the population counterparts are zero.

3. Estimate a linear regression model with child’s birth weight (bwt) as dependent variable and mother’s weight (lwt) as independent variable. Interpret the coefficients’ estimates and the value of R-squared (i.e. coefficient of determination). Write any assumptions you have to make.

4. Inspect the validity of the model in question 3 by assessing the residuals. Use the command rvpplot lwt (h rvpplot).

5. Suppose you want to test whether mean birth weight (bwt) varies over race

categories. Verify that the linear regression model (regress bwt i.race) is equivalent to ANOVA (oneway bwt race). Interpret the regression coefficients

1

References

Related documents

The planned procedure of the tests was to have the two sessions separated by a week, but this scheduling was simply not manageable due to lack of time on the subject’s behalf. The

A multiple regression analysis has been performed to examine the significance of the relationship between macroeconomic variables and the performance of a small capitalisation

Figure 11 displays the factor obtained, when block triangularization and the constrained approximate minimum degree algorithm are applied to the matrix in Figure 2, followed by

The time period 1756-1800 is an interesting one for the Company in general, as well as for their army. In this period, administrative, civil and military matters were mapped out

Housing Commercial Public spaces indoor/ outdoor Sequence 1: Densification of village Sequence 2: Small town Urban linearity meets Green linearity Sequence 3: Densification of

Based on body mass (adult dry mass), individuals from both populations had a higher growth rate under north photoregime than under south photoregime (ANOVA photoperiod: F 1,92 =

Assume the distribution of benzene in cigars is approximately normal with known standard deviation of 9 μg/gI. Perform an appropriate hypothesis test at the 0.05 level

The dash line is closer to the historical curve and have a smaller error, which means that the historical realized volatility of correlation is higher than the maximum value allowed