Solved

Statistical Analysis

Posted on 2010-11-29
3
711 Views
Last Modified: 2012-05-10
Hello all,
Can someone show me how to set up this problem by looking at the data attached and below questions.

The statistical analysis of the data involves hypothesis testing and multiple-regression analysis.
Analyses that you'll want to do are:
1.Test the hypothesis that mean price does not depend on whether the car is a convertible. (Interpret your answer in nontechnical terms for "Tom".) Then, perform the same hypothesis for transmission type, presence or absence of air conditioning, GT model or not, and private versus dealer ownership.
2.Perform a hypothesis test that mean selling price does not vary with color.
3.      Find a reasonable multiple regression model of PRICE on the other variables available in the data set. (Which variables are significant, which  
0
Comment
Question by:joesack99
  • 2
3 Comments
 
LVL 80

Accepted Solution

by:
byundt earned 500 total points
ID: 34233148
You should be aware that the statistical functions in Excel were reworked with Excel 2010 and 2011. They had a checkered reputation in the academic community due to occasional erroneous results that were easy for the casual user to encounter. They had previously been reworked for Excel 2003, but this latest revision is an attempt to answer the criticism for once and for all.

I assume that this is a homework type of assignment, and so will not post my version of the workbook to avoid getting you in trouble with the instructor.

When answering the first question, I used the TTEST function in an array formula that tested whether the attribute was present or not:
=TTEST(IF(B$2:B$36=0,$A$2:$A$36,""),IF(B$2:B$36<>0,$A$2:$A$36,""),2,3)
The TTEST function returns the probability that the two sets of data come from the same population. A number close to 0 means that they are likely to come from different populations. Variables like Color, Age and Mileage aren't really suitable for this type of test, so don't be alarmed by the error value that is returned. Note: you could have sorted the data by column B and entered the two resulting ranges separately in a regular formula. The array formula gives the same answer and saves time by letting you copy it across.

Array-entering a formula is a little tricky:
1) Click in the formula bar and paste the formula
2) Hold the Control and Shift keys down
3) Hit the Enter key, then release all three keys
Excel should reward you with curly braces { } surrounding the formula. You may see a #VALUE! error value if you didn't follow the directions correctly.

I also tried using the RSQ function to return the R-squared value (square of Pearson's correlation coefficient) for the correlation of price with each of the variables. A value close to 0 means that there is little correlation.
=RSQ($A$2:$A$36,B$2:B$36)

The combination of TTEST and RSQ led me to eliminate two of the variables--your judgment & textbook may suggest retaining a different number of variables. I then rearranged the data with the excluded variables off on the right. I could now use LINEST to return the regression equation for the remaining variables. If you exclude two variables, then select a five row x eight column range of cells and array-enter a formula like:
=LINEST(A2:A36,B2:H36,TRUE,TRUE)

The on-line help tells you how to interpret the results. It is worth noting that the constant is at the far right of the top row, and the coefficients for the variables are in reverse order (coefficient for column B appears next to the constant). I like to look at the R-squared for the overall correlation to see how good the fit is; you'll find this in the third row on the left.

Brad
0
 

Author Comment

by:joesack99
ID: 34233537
Brad,
Thanks for your response. I have Excel 2007 with Megastat plugin. Can you please the same step if I use Megatstat?
0
 
LVL 80

Expert Comment

by:byundt
ID: 34233762
I am not familiar with the Megastat addin. Sorry.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now