3. A university wants to estimate the percentage of their students who are the first in their families to go to college. There are 40,000 enrolled students. For each part, describe how the university might collect data using the given sampling method
a. Cluster sample
b. Simple random sample
c. Systematic sample
d. Stratified sample
In: Statistics and Probability
You have AGI of $50,000. You have two, twin dependents which are full time students. You paid tuition of $18,000 in the current year, $9,000 for each student. Both students are obtaining their first degree and it is their 4th year of school. They are not convicted of a drug felony. What is the amount of your education credit?
In: Accounting
From past studies the average time college freshmen spend studying is 22 hours per week. The standard deviation is 4 hours. This year, 60 students were surveyed, and the average time that they spent studying was 20.8 hours. Test the claim that the time students spend studying has not changed. Use a=1%
In: Statistics and Probability
In a sample of 70 randomly selected students, 29 favored the amount being budgeted for next year's intramural and interscholastic sports. Construct a 98% confidence interval for the proportion of all students who support the proposed budget amount. (Give your answers correct to three decimal places.)
| Lower Limit | |
| Upper Limit |
In: Statistics and Probability
We would like to know: "What percentage of college students drink alcohol every day?" In a random sample of 500 students, 75 said they drink alcohol every day. Use the data to construct a 95% confidence interval to answer to the question. You MUST show your work to receive full credit.
In: Statistics and Probability
A graduate student in the School of Education is interested in whether families of students in the Chicago Public Schools are for or against the new legislation proposing school uniform requirements. She surveys 600 students and finds that 480 are against the new legislation. Compute a 90 and 98 percent confidence interval for the true proportion who are for the new legislation.
In: Statistics and Probability
In a political science class there are 15 political science majors and 9 non-political science majors. 4 students are randomly selected to present a topic. What is the probability that at least 2 of the 4 students selected are political science majors? Express your answer as a fraction or a decimal number rounded to four decimal places.
In: Math
Q1) (1 point) Design an efficient algorithm (in terms of asymptotic complexity in the worst case) to determine if two students in a class of n students have the same height. What is the complexity of your algorithm?
a.Provide the pseudo-code of that algorithm.
b.Implement the algorithm in a language of your choice and provide a sample run with meaningful input.
In: Computer Science
*Create a python function that uses a while list to allow a user to enter values for sales and to add each value into a list in order to track all values entered. Set the gathering of values to stop when the value of zero is entered. Then take the created list and calculate the values within the list to return the total for all the values. Next, take the previously created list and display all the values from smallest to largest and then from largest to smallest. Then create a function that will check to see if the value 100 is in the list. If it is in the list have the function return "Yes, 100 is in the list" if no have the function return, "No, 100 is not in the list".
*Next make another script and create a list that contains the values for each day of the week. For example; ‘Sunday’, ‘Monday’, ‘Tuesday’, etc….. Modify the script to have a for loop that prints out each day of the week contained within your list. Next, modify your script to ask for input from a user to Enter a number for the day of the week they would like to choose (1-7). Then print the output for the day of the week they have chosen from your list.
In: Computer Science
In C++
The existing code provides number of students who get A grade ( >=91 ), their average points. You may need to provide code for other students who got B, C, D and F grades with grade >= 81, 71, 61 and below 61 respectively. You are asked to write a print function to display / print name of group ( such as Grade A group) , number, and average grade. in the main function, you just make the function call for each group of students.
You may be asked to write a function to translate average point of class to letter grade. For example, when average point of class is 82.45, the overall letter grade of class is B
You may be asked to provide statistics how many input, and how many errors are there ?
Below is code that needs to be updated with above information
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main()
{
const int MAX_GRADE = 100;
const int A_GRADE = 91; // Grad A's points
int countGradeA = 0; // number of Grade A students
double totalGradeA = 0.; // total points of Grade A students
int counter = 0; // number of students
int grade; // student's grade; must be positive and <= MAX_GRADE
double average; // grade average
double total = 0; // total grades
while (true) {
cout << "Enter grade, Ctr-Z (Windows) / Ctr-D ( Unix) to end : ",
cin >> grade;
if ( cin.fail()) {
if ( cin.eof()) {
cout << "Finish entering data !" << endl;
break;
} else
{
string error;
cin.clear();
cin >> error;
cout << error << " Wrong data type " << endl;
}
} else if ( grade < 0 || grade > MAX_GRADE) {
cout << grade << " Wrong data, must be positive and <= " << MAX_GRADE << endl;
} else {
total += grade;
counter++;
cout << grade << endl;
if ( grade >= A_GRADE)
{
countGradeA++;
totalGradeA += grade;
}
}
}
// compute an average of grades
cout << fixed << setprecision(2);
if ( counter > 0)
{
average = total / counter;
cout << setw(20) << "Total students: " << setw(10) << counter << setw(10) << "Average: " << setw(10) << average << endl;
} else {
cout << "No grade entered " << endl;
}
if (countGradeA > 0) {
cout << setw(20) << "Grade A Students: " << setw(10) << countGradeA
<< setw(10) << " Average: " << setw(10) << totalGradeA / countGradeA << endl;
}
return 0;
}In: Computer Science