pics - * pics.do: illustrates how to create a do-file, how...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
* pics.do: illustrates how to create a do-file, how to do correlation and regression, & how to make a publication-style regression table, /// using Joey's algebra hw. version 10.0 capture log close set more off log using hw, replace * Create variables input npic price 44 19 31 16 24 13 15 10 end * Label variables la var npic "# pictures" la var price "Total Price" * Summary statistics (mean, sd, & 5-number summary) & graphs summarize price npic, detail stem price hist price, norm gr box price stem npic hist npic, norm gr box npic * Scatterplot (checking for non-linearity by using qfit in addition to lfit) twoway scatter price npic || lfit price npic twoway scatter price npic || qfit price npic * There is mild, positive curvilinearity. It may not be pronounced enough to notably affect the results, & in any case there aren't enough /// observations to take corrective action. As always, though, we'll need to check the residuls for curvilinearity. * Correlation
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/11/2011 for the course SYA 6305 taught by Professor Tardanico during the Fall '08 term at FIU.

Page1 / 2

pics - * pics.do: illustrates how to create a do-file, how...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online