I was thinking that something was wrong with the code or I typed the command wrong. ("gcc score.c"). Plus the journal.txt file was modified to include and exclude commas, will that affect the output of the file?
Attached is a modified version of the journal.txt© BrainMass Inc. brainmass.com October 24, 2018, 8:39 pm ad1c9bdddf
I run this project with your new files. Everything works ...
This solution provides assistance with the C Project problem below.
Hypothesis Testing for Student Variables at Harrigan University
See the attached data file.
Harrigan University is a liberal arts university in the Midwest that attempts to attract the highest quality students, especially from its region of the country. It has gathered data on 178 applicants who were accepted by Harrigan. The data are in the file named Harrigan which is posted on my website.
The variables are:
Accepted: whether the applicant accepts Harrigan's offer to enroll.
MainRival: whether the applicant enrolls at Harrigan's main rival university.
HSClubs: number of high school clubs applicant served as an officer.
HSSports: number of varsity letters applicant has earned.
HSGPA: applicant's high school GPA.
HSPctile: applicant's percentile (in terms of GPA) is his or her graduating class.
HSSize: number of students in applicant's graduating class
SAT: applicant's combined SAT score
CombinedScore: a combined score for the applicant used by Harrigan to rank applicants.
The derivation of the combined score is a closely kept secret by Harrigan, but it is basically a weighted average of the various components of high school performance and SAT. Harrigan is concerned that it is not getting enough of the best students, and worse yet, it is concerned that many of the best students are going to Harrigan's main rival. Solve the following problems and then write an executive summary on whether Harrigan appears to have a legitimate claim.
1. Find the 95% confidence interval for the proportion of all applicants who accept Harrigan's invitation to enroll. Do the same for all applicants with a combined score less than or equal to the median of combined score. And then for the applicants with a combined score greater than the combined score median. Perform a hypothesis test to determine if there is a significant difference between these two proportions?
2. Find the 95% confidence interval for the proportion of all students with a combined score less than or equal to the median who chose Harrigan's rival over Harrigan. Do the same for those with a combined score greater than the median. Perform a hypothesis test to determine if there is a significant difference between the two?
3. Find the 95% confidence intervals for the mean combined score, the mean high school GPA, and the mean SAT score of all acceptable students who accept Harrigans invitation to enroll. Do the same for all acceptable students who choose to enroll else where. Then find the 95% confidence intervals for the differences between these means, where each difference is a mean for students enrolling at Harrigan minus the similar mean for students enrolling elsewhere.
4. Harrigan is interested in recruiting students who are involved in extracurricular activities. Does it appear to be doing so? Perform a hypothesis test to determine if at least half of those students that come to Harrigan have been officers of at least two clubs. Perform a similar test to determine if at least half of the students that come to Harrigan have at least four varsity letters in sports.
5. The combined score Harrigan calculates for each student gives some advantage to students who attended large high schools relative to those who attended small high schools. Is Harrigan correct in this assumption? (Split the data As a result, Harrigan believes it is more successful in attracting students from large high schools than from small high schools. Are they correct?
6. If the GPA, SAT score, the number of clubs where the student serves as an officer, and the number of letters in sports is used to calculate the combined score, is there a difference in any of these parameters when comparing large schools to small schools? Can you draw any possible conclusions from your results that might cause a shift in the combined score for a specific group of students?
* This case was adapted from a case authored by Albright, Winston and Zapp, 'Data Analysis and Decision Making' 2nd ed., 2004
Please submit an Executive Summary of the findings from your data analysis. Also, in the executive summary, provide Harrigan any advice that you can based on the data that you analyzed. Don't base your advice on your feelings, but purely on the suggestions and conclusions drawn from the data.
Underneath your executive summary, you should have a section for each of the six questions above. Cut and paste your MINITAB output to your text document. Clearly describe the confidence intervals and hypothesis test that you perform.
For every confidence interval that you calculate, give your interpretation of the confidence interval. Also, for every hypothesis test that you perform, clearly state the null and alternative hypotheses, and interpret your findings. You can use the p-value approach or the critical value approach. All hypothesis tests should be performed using the 5% level of significance.
My intent is for you to do all of the analysis in MINITAB. You will have to sort the data numerous times based on different variables, so you will need to learn this function. Of course you can do this in excel and copy it over to MINITAB if you wish. Also, you will need to dissect the data (cut and paste) because MINITAB will not look at a partial column.
This is a team assignment, but do not discuss the solutions of this case with anyone other than your team partner. I expect that each team member to contribute equally to the case analysis and write-up, but in the event that one team member does more than 50% of the work, please specify that on your write-up. I will make grade assignments accordingly.
Let me know if you have any questions.
Here are some helpful hints in arranging the data:
1. You will have to divide the data based on certain variables and then perform a 2-sample hypothesis test. The easiest way to do this is to first sort the data according to the variable of interest. In the first problem that variable is combined score. Sorting in Minitab is different than sorting in excel. Here are the commands: Data>Sort>Select which columns you want to sort>then select which variable you want to sort on>then select where you want to place the sorted data>OK. I usually sort the data and put the data back in the same columns of the same worksheet. Once you have done this, you will need to divide the data. Do this by cutting and pasting half of the data to another set of columns on the same spreadsheet. Once you have done this, you can easily do the 2-sample test by comparing the data in one column to the data in another column.View Full Posting Details