Statistical Analysis

Posted on 2010-11-29
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  
Question by:joesack99
  • 2
LVL 81

Accepted Solution

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:
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.

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:

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.


Author Comment

ID: 34233537
Thanks for your response. I have Excel 2007 with Megastat plugin. Can you please the same step if I use Megatstat?
LVL 81

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (, it was inspired by an email posting I made to EUSPRIG (, I will briefly cover: 1) An overvie…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

919 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

23 Experts available now in Live!

Get 1:1 Help Now