Question

In: Statistics and Probability

Sale Price List Price Days to Sell Gulf View 475 495 130 1 350 379 71...

Sale Price List Price Days to Sell Gulf View
475 495 130 1
350 379 71 1
519 529 85 1
534.5 552.5 95 1
334.9 334.9 119 1
505 550 92 1
165 169.9 197 1
210 210 56 1
945 975 73 1
314 314 126 1
305 315 88 1
800 885 282 1
975 975 100 1
445 469 56 1
305 329 49 1
330 365 48 1
312 332 88 1
495 520 161 1
405 425 149 1
669 675 142 1
400 409 28 1
649 649 29 1
305 319 140 1
410 425 85 1
340 359 107 1
449 469 72 1
875 895 129 1
430 439 160 1
400 435 206 1
227 235 91 1
618 638 100 1
600 629 97 1
309 329 114 1
555 595 45 1
315 339 150 1
200 215 48 1
375 395 135 1
425 449 53 1
465 499 86 1
428.5 439 158 1
217 217 182 0
135.5 148 338 0
179 186.5 122 0
230 239 150 0
267.5 279 169 0
214 215 58 0
259 279 110 0
176.5 179.9 130 0
144.9 149.9 149 0
230 235 114 0
192 199.8 120 0
195 210 61 0
212 226 146 0
146.5 149.9 137 0
160 160 281 0
292.5 322 63 0
179 187.5 48 0
227 247 52 0

Use descriptive statistics to summarize each of the three variables for the 40 Gulf View condos. Describe the distribution of each variable. Repeat for the 18 No Gulf View Condos. (This includes the five-number summary, the mean, standard deviation, and a histogram of each variable). Gulf View condos are denoted by “1” in the Gulf View column, whereas No Gulf View condos are denoted by “0”. Prices are in thousands of dollars.

Solutions

Expert Solution

We will use R commands for the calculations. We may import the data by saving the above table by the name 'dat' and the enter the following command:

library(readr)
> dat <- read_delim("Documents/r/dat", "\t", escape_double = FALSE, trim_ws = TRUE)

Note: Be sure to remove the spaces in each column names, so that the column slices would seem more structured.

The golf view condos can be sliced in the dataframe 'dat1' by the following command:

dat1 <- dat[dat$GulfView==1,]
View(dat1)

Now, entering the command

summary(dat1)

would return the required results of the five number summary as below.

SalePrice (Thousand $)
ListPrice 
(Thousand $)
DaysToSell 
(Thousand $)
Min.   :165.0
Min.   :169.9
Min.   : 28.00
1st Qu.:314.8
1st Qu.:334.2
1st Qu.: 71.75
Median :417.5
Median :437.0
Median : 96.00
Mean   :454.2
Mean   :474.0
Mean   :106.00
3rd Qu.:522.9
3rd Qu.:550.6
3rd Qu.:136.25
Max.   :975.0
Max.   :975.0
Max.   :282.00

Standard deviation can be found as commands below:

sd(dat1$SalePrice)
192.5178
sd(dat1$ListPrice)
197.29
sd(dat1$DaysToSell)
52.21602

would give the respective standard deviations.

The histograms would be found by the commands as below:

hist(dat1$SalePrice)
hist(dat1$ListPrice)
hist(dat1$DaysToSell)

and the graphs would be as below.

All the distributions seems positively skewed.

_________________________________________

The non-golf view condos can be sliced in the dataframe 'dat2' by the following command:

dat2 <- dat[dat$GulfView==0,]
View(dat2)

Now, entering the command

summary(dat2)

would return the required results of the five number summary as below.

SalePrice
 (Thousand $)
ListPrice
 (Thousand $)
DaysToSell
 (Thousand $)
Min.   :135.5
Min.   :148.0
Min.   : 48.00
1st Qu.:177.1
1st Qu.:181.6
1st Qu.: 74.75
Median :203.5
Median :212.5
Median :126.00
Mean   :203.2
Mean   :212.8
Mean   :135.00
3rd Qu.:229.2
3rd Qu.:238.0
3rd Qu.:149.75
Max.   :292.5
Max.   :322.0
Max.   :338.00

Standard deviation can be found as commands below:

sd(dat2$SalePrice)
43.89172
sd(dat2$ListPrice)
48.94528
sd(dat2$DaysToSell)
76.29972

would give the respective standard deviations.

The histograms would be found by the commands as below:

hist(dat2$SalePrice)
hist(dat2$ListPrice)
hist(dat2$DaysToSell)

and the graphs would be as below.

The sale price and list price data is quite normally distributed, while the days to sell data is a bit positively skewed.


Related Solutions

Sale Price List Price Days to Sell Gulf View 475 495 130 1 350 379 71...
Sale Price List Price Days to Sell Gulf View 475 495 130 1 350 379 71 1 519 529 85 1 534.5 552.5 95 1 334.9 334.9 119 1 505 550 92 1 165 169.9 197 1 210 210 56 1 945 975 73 1 314 314 126 1 305 315 88 1 800 885 282 1 975 975 100 1 445 469 56 1 305 329 49 1 330 365 48 1 312 332 88 1 495 520 161...
Your boss believes that Gulf View condos sell more quickly that No Gulf View condos. Is this true?
Sale Price List Price Days to Sell Gulf View 475 495 130 1 350 379 71 1 519 529 85 1 534.5 552.5 95 1 334.9 334.9 119 1 505 550 92 1 165 169.9 197 1 210 210 56 1 945 975 73 1 314 314 126 1 305 315 88 1 800 885 282 1 975 975 100 1 445 469 56 1 305 329 49 1 330 365 48 1 312 332 88 1 495 520 161...
ABC Inc. manufactures and sell product A. The sale price and costs on a per unit...
ABC Inc. manufactures and sell product A. The sale price and costs on a per unit basis, when 20,000 units per month are sold, are as follows:                         Manufacturing costs:                                                 Direct materials used $2.00                                                 Direct labour               $1.00                                                 MOH variable             $1.20                                                 MOH fixed                 $1.10                         Selling expenses                                                 Variable                      $4.00                                                 Fixed                           $1.10                         Sale price per unit                                                     $15          ABC Inc. received a special order from Africa Co., headquarter located in Zimbabwe, for...
Two dealers compete to sell you a new car with a list price of $42000. Dealer...
Two dealers compete to sell you a new car with a list price of $42000. Dealer A offers to sell it for $40000 if you pay cash. Dealer B offers to sell it to you for $44000 with a "0-percent financing" option: you will have to pay 48 equal monthly payments of $916.67. That is to say, Dealer B offers: 48×916.67=44000 Assume that the first monthly payment is one month after you take possession of the car. (a) Suppose that...
1.If the price index increases from 120 to 130 then the inflation rate during the past...
1.If the price index increases from 120 to 130 then the inflation rate during the past year was 10%. True or False 2.If the price index has a value of 122 then the inflation rate during the past year must have been 22%. True or False 3.The GDP deflator is used to calculate the inflation rate. True or False 4. You deposit $900 in a savings account and one year later you have $945. At the same time, the CPI...
1. It takes Ryan's Drug Store an average of 40 days to sell its inventory and...
1. It takes Ryan's Drug Store an average of 40 days to sell its inventory and 24 days to collect its accounts receivable. The firm has sales of $491,600 and costs of goods sold of $407,300. What is the accounts receivable turnover rate? 2. A common-size income statement: I. expresses all values as a percent of total assets. II. should reflect a relatively constant cost of goods sold unless a firm changed the percent that it uses to mark up...
Use list/link list and write in C++ Food ordering system 1. Place Order 2. View the...
Use list/link list and write in C++ Food ordering system 1. Place Order 2. View the food details 3. Modify food details 4. Delete food details 5. Exit Order should let the customer to enter the food code, flavor, weight(kg), unit price, qty, customer ID, name, address and contact number. It will also have an order id automatically assigned with a unique ID when new order is added. When view the food details, it should also calculate the unit price...
Assuming FIFO cost flow assumption the days to sell is _________. Beginning Inventory 1/1/16: 15 units...
Assuming FIFO cost flow assumption the days to sell is _________. Beginning Inventory 1/1/16: 15 units @ $1.00 per unit Sale 1/3/16: 10 units @ $5.00 per unit Purchase 1/4/16: 10 units @ $1.10 per unit Sale 1/5/16: 10 units @ $5.00 per unit Purchase 1/7/16: 20 units @ $1.20 per unit Purchase 1/17/16: 15 units @ $1.40 per unit Sale 1/18/16: 15 units @ $5.00 per unit Sale 1/25/16: 15 units @ $5.00 per unit Purchase 1/30/16: 5 units...
1. Where can you go to view a list of all FactSet hotkeys? A. Excel >...
1. Where can you go to view a list of all FactSet hotkeys? A. Excel > FactSet ribbon > Settings > Spreadsheet Tools B. Excel > FactSet ribbon > Settings > Modeling Tools C. Excel > FactSet ribbon > Settings > Manage Hotkeys D. Excel > FactSet ribbon > Help > FactSet’s Excel Tips and Tricks 2. What hotkey modifies a formula in the Edit tab of Sidebar? A. CTRL+M B. CTRL+J C. ALT+M D. ALT+N
Alternative 1 Slowtwitch has identified a parcel of land that is for sale. The listing price...
Alternative 1 Slowtwitch has identified a parcel of land that is for sale. The listing price is $400,000, but Slowtwitch's realtor is confident the property can be acquired for $330,000. An architect has provided Slowtwitch with plans to build a retail store on this site at a cost of $1,000,000. An additional $320,000 would be required to finish out the building with all of the equipment, furniture, and fixtures necessary to meet Slowtwitch's demanding standards. Slowtwitch's banker has agreed to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT