Question

State   Price   Size NJ   375   2.1 NJ   200   0.9 NJ   599   2.3 NJ   365   2.1 NJ   220   2.1 NJ   250   1.9 NJ   410 ...

State   Price   Size
NJ   375   2.1
NJ   200   0.9
NJ   599   2.3
NJ   365   2.1
NJ   220   2.1
NJ   250   1.9
NJ   410   2.2
NJ   429   2.8
NJ   325   2
NJ   235   1.1
NY   145   1.3
NY   875   2.9
NY   300   1.5
NY   370   1.1
NY   268   1.5
NY   1399   4.8
NY   1125   3.1
NY   299   1.4
NY   110   1.2
NY   2999   6
PA   282   2.6
PA   135   1.3
PA   179   1.8
PA   800   3
PA   145   1.2
PA   170   1.6
PA   495   2.9
PA   224   1.5
PA   325   2.5
PA   180   1.9
PA   269   2.6
PA   196   1.3
PA   180   1.2
PA   353   2.1
PA   110   1.7
PA   225   2.5
PA   270   2.6
PA   870   4.2
PA   184   1.8
PA   130   1.5
NJ   330   2.7
NJ   375   1.2
NJ   225   1.7
NJ   1150   5
NJ   127   1.5
NJ   499   4.8
NJ   250   1.2
NJ   430   1.8
NJ   320   2.3
NJ   150   1.1
NY   459   1.8
NY   275   2.9
NY   275   1.8
NY   2500   3.7
NY   187   1.4
NY   238   1.7
NY   155   0.7
NY   175   1.6
NY   569   3.2
NY   105   1.2
CA   500   3.2
CA   995   3.7
CA   609   2.2
CA   1199   2.8
CA   949   1.4
CA   415   1.7
CA   895   2.1
CA   775   1.6
CA   109   0.6
CA   5900   4.8
CA   219   1.1
CA   255   1.2
CA   86   0.6
CA   62   1.2
CA   165   1.9
CA   1695   6.9
CA   499   1.4
CA   47   1.5
CA   195   2
CA   775   1
CA   199   1.4
CA   480   3
CA   173   0.9
CA   189   2.5
CA   230   1.7
CA   380   2.1
CA   110   0.8
CA   499   1.3
CA   399   1.4
CA   2450   5
NJ   845   3.4
NJ   220   2.1
NJ   215   1.8
NJ   430   1.8
NJ   208   1.3
NJ   375   1.2
NJ   749   3
NJ   245   1.2
NJ   435   1.6
NJ   669   4.2
PA   190   2.2
PA   219   1.4
PA   125   1.3
PA   125   1.2
PA   160   1.5
PA   189   1.4
PA   270   1.8
PA   90   1.3
PA   199   1.6
PA   199   1.6

1. Produce 4 side-by-side boxplots of house prices for the states in your sample: one for California, one for New Jersey, and so on.

2. Compare the house price boxplots across the 4 states. Briefly comment on what the boxplots reveal about the location, dispersion and skewness of the price distributions across the states.

3. Write down the population regression model for house prices as a function of floor space (size), taking care to define your notation clearly.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

using R

1)

data <- read.csv("../Documents/price.csv",sep=" ")
data <- data[,c(1,4,7)]
boxplot(Price~ï..State,data = data)

1000 2000 3000 40005000 6000 3 2 9

2)

In general median price are in order
CA > NJ > NY > PA


there are few outliers in each of CA,NJ ,NY and PA

IQR is higher in CA and NY
but lower in NJ and PA

3)

y =a + bx

y = house prices

x = floor size

Add a comment
Know the answer?
Add Answer to:
State   Price   Size NJ   375   2.1 NJ   200   0.9 NJ   599   2.3 NJ   365   2.1 NJ   220   2.1 NJ   250   1.9 NJ   410 ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Cannot use excel file due to file size... what should i do State     Price     Size NJ        375       2.1 NJ        20...

    Cannot use excel file due to file size... what should i do State     Price     Size NJ        375       2.1 NJ        200       0.9 NJ        599       2.3 NJ        365       2.1 NJ        220       2.1 NJ        250       1.9 NJ        410       2.2 NJ        429       2.8 NJ        325       2 NJ        235       1.1 NY       145       1.3 NY       875       2.9 NY       300       1.5 NY       370       1.1 NY       268       1.5 NY       1399     4.8 NY       1125     3.1 NY       299       1.4 NY       110       1.2 NY       2999     6 PA        282       2.6 PA        135      ...

  • Recent research indicates that the effectiveness of antidepressant medication is directly related to the severity of...

    Recent research indicates that the effectiveness of antidepressant medication is directly related to the severity of the depression (Khan, Brodhead, Kolts & Brown, 2005). Based on pretreatment depression scores, patients were divided into four groups based on their level of depression. After receiving the antidepressant medication, depression scores were measured again and the amount of improvement was recorded for each patient. The following data are similar to the results of the study. Low Moderate High Moderate Moderately Severe Severe 1.2...

  • Which of the following have at least one polar bond He Ne 0.7 0.9 1.0/1.3/1.5/1.7 1.9/2.2...

    Which of the following have at least one polar bond He Ne 0.7 0.9 1.0/1.3/1.5/1.7 1.9/2.2 2.2 2.2 2.4 Hg Tl H 2.1 4.0 N 3.5 3.0 Be B 2.5 Li 1.5 2.0 Cl S 3.0 1.0 Mg Si ΑΙ 2.1 Na Br 1.8 1.2 0.9 1.5 Fe V 2.8 Co Cr Mn Ni Cu Ti Sc Zn Ga Ge As 2.4 K Ca 1.3 1.5 1.6 1.6 1.5 1.8 1.9 1.9 1.9 1.6 1.6 1.8 2.0 Ru Rh 1.0...

  • A sociologist claims that children spent more time watching television in 1981 than children do today....

    A sociologist claims that children spent more time watching television in 1981 than children do today. A study was conducted in 1981 to find the time that children watched television on weekdays. Recently, a similar study was conducted. The results of these studies (in hours per weekday are shown below. Assume the population standard deviation is 0.7 for 1981 and 0.8 for today, At a = 0.05, can you support the sociologist's claim? Complete parts (a) through (d) below. Full...

  • Select the most reactive organometallic compound. Electronegativity values can be found in the table below: He...

    Select the most reactive organometallic compound. Electronegativity values can be found in the table below: He H 2.1 Ne Li 1.0 Be 1.5 B 2.0 с 2.5 N 3.0 O 3.5 4.0 Na 0.9 Mg 1.2 ΑΙ 1.5 Si 1.8 P 2.2 S 2.5 CI 3.0 Ar K 0.8 Ca 1.0 Sc 1.3 Ti 1.5 V 1.6 Cr 1.6 Mn 1.5 Fe 1.8 Co 1.8 Ni 1.8 Cu 1.9 Zn 1.6 Ga 1.6 Ge 1.8 As 2.0 Se 2.4 Br...

  • A sociologist claims that children spent more time watching television in 1981 than children do today....

    A sociologist claims that children spent more time watching television in 1981 than children do today. A study was conducted in 1981 to find the time that children watched television on weekdays.​ Recently, a similar study was conducted. The results of these studies​ (in hours per​ weekday) are shown below. Assume the population standard deviation is 0.7 for 1981 and 0.7 for today. At α=​0.05, can you support the​ sociologist's claim? Complete parts​ (a) through​ (d) below. Full data set...

  • A sociologist claims that children spent more time watching television in 1981 than children do t...

    A sociologist claims that children spent more time watching television in 1981 than children do today. A study was conducted in 1981 to find the time that children watched television on weekdays. Recently, a similar study was conducted. The results of these studies (in hours per weekday) are shown below. Assume the population standard deviation is 0.7 for 1981 and 0.7 for today. At α=0.05, can you support the sociologist's claim? Complete parts (a) through (d) below. 1981 3.2 1.4...

  • A compound A, C7H12O3, contains two functional groups. One of the functional groups is a derivative...

    A compound A, C7H12O3, contains two functional groups. One of the functional groups is a derivative of carboxylic acid. The 1H NMR spectrum of the compound is given below. Deduce the structure of the compound A. Write your structure on the spectrum and using arrows assign all the peaks in the spectrum to various protons in the molecule. (5 Pts, NO PARTIAL CREDITS) 4.3 4.2 4.1 4.0 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.9 2.8 2.7...

  • Multiple question parts. A normal distribution of heights of adult women from a certain region has...

    Multiple question parts. A normal distribution of heights of adult women from a certain region has a mean of 62.7 inches and a standard deviation of 3 inches. Give the standard score and approximate percentiles for a woman with each of the following heights. a. 64.2 inches b. 61.2 inches c. 58.2 inches d. 67.2 inches Click the icon to view the standard scores and percentiles for a normal distribution. a. The standard score is and the percentile is (Type...

  • The scores on the verbal section of a certain graduate school entrance exam have a mean...

    The scores on the verbal section of a certain graduate school entrance exam have a mean of 153 and a standard deviation of 8.7. Scores on the quantitative section of the exam have a mean of 154 and a standard deviation of 8.9. Assume the scores are normally distributed. Students intending to study engineering in graduate school have a mean score of 178 on the quantitative section and a mean score of 156 on the verbal section. a. Find the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT