Project One Fall 2008 II a plot Titanic Survival one Or Not zero Vs Fare in Pounds 1 0 SURVIVE 0 8 0 6 0 4 0 2 0 0 0 200 400 FARE 600 IIb Survive a b female c fare e i Is regression statistically significant yes F stat probability ii Interpret constant term when female and fare are zero intercept for male iii Is coefficient on fare statistically significant Yes t stat and probability iv Interpret the coefficient on fare Probability of survival increases by 0 14 for every 100 v Is the constant term significantly different from coefficient on female View menu in Equation window representations Estimation Command LS SURVIVE FARE FEMALE C Estimation Equation SURVIVE C 1 FARE C 2 FEMALE C 3 Substituted Coefficients SURVIVE 0 001422273828 FARE 0 5077490703 FEMALE 0 1540123972 View menu Coefficient tests Wald Wald Test Equation Untitled Null Hypothesis C 1 C 2 F statistic 447 5543 Chi square 447 5543 Probability Probability 0 000000 0 000000 IIc Plot the fitted value of survive Vs Fare View Menu Actual Fitted Residual Table Select fare and Fitted and from Quick menu Graph scatter diagram Fitted Vs Fare from Regression 1 5 Female FITTED 1 0 0 5 Male 0 0 0 200 400 FARE 600 Confusing without labels 2d Add age to the regression 2e is it women and children first Investigating Class Class variable 1 2 3 Genr first 1 class 1 0 class 1 Genr third 1 class 3 0 class 3 Genr second 1 first second View actual select copy fitted Regression Survive vs class fare 1 2 FITTEDCLASS 1 0 first 0 8 0 6 second 0 4 third 0 2 0 200 400 FARE 600 Investigate Age and Gender Agefem age female Plot of Survive Vs Age for Females Regression Regression survive Vs class fare Age of female FITAGEFEM 1 5 1 0 0 5 first second third 0 0 0 20 40 AGEFEM 60 80 Babies Sort on Babies Procs Infants Histogram of age 120 Series AGE Sample 1 1046 Observations 1046 100 80 60 40 20 0 0 10 20 30 40 50 60 70 80 Mean Median Maximum Minimum Std Dev Skewness Kurtosis 29 88113 28 00000 80 00000 0 166700 14 41350 0 407087 3 140518 Jarque Bera Probability 29 75106 0 000000 Regression of Survive Vs Fare and class For babies 1 4 1 2 First FITBABY 1 0 second 0 8 0 6 0 4 Third 0 2 0 50 100 FARE 150 200
View Full Document
Unlocking...