goodwill R - md hist(md$gwill < goodwill.R...

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

View Full Document Right Arrow Icon
#   goodwill.R md   <-   read.table("c:\\bdm25\\data\\goodwill.csv",header=T,sep=",") #   figure   9.15 hist(md$gwill) #   figure   9.16 plot(md$tassets,md$gwill,pch=16) #   figure   9.17 plot(md$amort,md$gwill,pch=16) #   table   9.24 myreg   <-   lm(gwill~tassets+amort,data=md) summary(myreg) #   figure   9.18   diagnostic   plots #   figure   9.18a   --   we   don't   do   this #   figure   9.18b library("qcc") qcc(myreg$residuals,type="xbar.one") #   book   uses   standardized   residuals,   see   footnote   page   418 #   figure   9.18c hist(myreg$residuals) #   figure   9.18d plot(myreg$fitted.values,myreg$residuals,pch=16) #   put   in   a   line   at   zero abline(0,0) #   make   some   transforms loggwill   <-   log10(md$gwill) logtassets   <-   log10(md$tassets) #   don't   need   a   dollar   sign   to   refer   to   these #   they   are   objects   themselves,   not   variables   attached   to   some   object #   figure   9.19
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 05/14/2010 for the course FINANCE 32159 taught by Professor Adamyore during the Fall '09 term at Drexel.

Page1 / 3

goodwill R - md hist(md$gwill < goodwill.R...

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