Questions
A researcher conducts a study of college students to decide whether they like math classes. They...

  1. A researcher conducts a study of college students to decide whether they like math classes. They get a list of students with land-line phone numbers from their University and call the first 25 students, all of whom are English majors, on the list. They ask those students “Which is the worst class you’ve had on campus – your math class or another class?” 18 out of 25 say math, so the researcher concludes that students choose English majors because they do not like mathematics.

The researcher has made a number of mistakes. Describe how they made each mistake listed below:

  1. Confusing causation with correlation
  2. Leading/influencing questions
  3. Biased sampling
  4. Small Sample Size

In: Statistics and Probability

What type of stabilizing interaction could there be between the side chains of glutamate and lysine?...

What type of stabilizing interaction could there be between the side chains of glutamate and lysine? Please explain why as well.

-Salt bridges
-Hydrophobic interactions
-Hydrogen bonds

In: Chemistry

Debate the supply v. demand debate of guns. Should there be an effort to limit the...

Debate the supply v. demand debate of guns. Should there be an effort to limit the manufacturing of guns given the 97 million available? What is the students’ interpretation of the Second Amendment’s “right to bear arms” statement?

In: Psychology

Convert this code written in Python to Java: students = int(input("How many students are in your...

Convert this code written in Python to Java:

students = int(input("How many students are in your class?" ))

while students<0:

    print("Invalid # of students, try again.")

    students = int(input("How many students are in your class?" ))

tests = int(input("How many tests in this class? "))

while tests<0:

    print("Invalid # of tests, try again.")

    tests = int(input("How many tests in this class? "))

print("Here we go!")

# Here we are creating a list called class_average to store average of all students.

class_average = []

for i in range(1, students+1):

    # Here we are creating a list called student_marks to store the marks of the student.

    student_marks = []

    print("**** Student #",i, "****")

    for j in range(1,tests+1):

        marks = int(input("Enter score for test #{}: ".format(j)))

        while marks<0:

            print("Invalid score, try again")

            marks = int(input("Enter score for test #{}: ".format(j)))

        # If marks is valid then we are adding it to student_marks list.

        student_marks.append(marks)

    # Here we are finding average of student marks and storing in student_average variable.

    student_average = sum(student_marks) / len(student_marks)

    # Here we are rounding of average to get perfect decimal

    rounded_average = round(student_average, 3)

    print("Average score for student #", i, "is ", rounded_average)

    # After finding student average, we are adding it to class_average list.

    class_average.append(rounded_average)

# Here we are calculating whole class average and storing in variable whole_class_average

whole_class_average = sum(class_average) / len(class_average)

# Here we are rounding off result to get it prefect decimal

rounded_class_average = round(whole_class_average, 2)

print("Average score for all students is: ", rounded_class_average)

In: Computer Science

In 2014 Marie borrowed $10,000. In 2019 the debt was forgiven. Marie does not believe she...

In 2014 Marie borrowed $10,000. In 2019 the debt was forgiven. Marie does not believe she should report the forgiveness of debt as income because she received nothing at the time the debt was forgiven in 2019. Do you agree or disagree? Support your position.” (Cruz, et al., 2020, p. 3-35)

In: Accounting

Question 1) Identify the type of data that would be used to describe a response. Time...

Question 1) Identify the type of data that would be used to describe a response.

Time in Line to Buy Groceries

  • A. Qualitative (Categorical)
  • B. Quantitative - Continuous
  • C. Quantitative - Discrete

Question 2)

Identify the type of data that would be used to describe a response.

Most Watched Television Show

  • A. Quantitative - Discrete
  • B. Quantitative - Continuous
  • C. Qualitative (Categorical)

Question 3.

lege administrator wants to survey 250 students that attend her college to see if students are satisfied with the course offerings. Match the strategies to their corresponding sampling techniques.

Match the following with the correct sentence below

  1. Stratified Sampling
  2. Convenience Sampling
  3. Systematic Sampling
  4. Simple Random Sampling
  5. Cluster Sampling
  • The administrator goes into 9 classes from many subject areas and asks all the students in each of these 9 classes.
  • The administrator gets the complete list of students at the college and surveys every 50th students on the list.
  • The administrator gets the complete list of students at the college and then uses a computer to randomly select 250 students. She then surveys these 250 students.
  • The administrator researches the ethnic make-up of the college and makes sure that the proportion of each ethnic group represented in the sample is the same as the corresponding proportion of that ethnic group at the college.
  • The administrator stands by the front door of the admissions department and asks the first 250 students who walk in.

In: Statistics and Probability

Use excel and show both the numbers and the formulas so I can learn how to...

Use excel and show both the numbers and the formulas so I can learn how to do it

If I want to invest $1200 a year for 20 years and then stop investing for 10 years, to pay for my slacker child to get a doctorate, how much will I need to invest a year in my final 10 years of work to get my $2,000,000 to make me really happy at 12% interest?

In: Finance

Peter lives for three periods. He is currently considering three alternative education-work options. He can start...

Peter lives for three periods. He is currently considering three alternative education-work options. He can start working immediately and earn $100,000 in period 1, $110,000 in period 2, and $90,000 in period 3. Alternatively, he can spend $50,000 to attend college in period 1 and then earn $180,000 in period 2 and 3. Finally, he can receive a doctorate degree in period 2 after completing his college education in period 1. This last option will cost him nothing in period 2 as his graduate school expenses on tuition and books will be covered by a research assistantship. After receiving his doctorate degree, he will become a professor in a business school and earn $400,000 in period 3.

Peter must make all college related expenses at the beginning of each period and he is paid at the end of every period.

a) Suppose that the market interest rate is given by 20 percent. What education path maximizes Peterís net present value of life time earnings?

b) What will be the optimal decision if the market interest rate is given by 0 percent?

In: Economics

Given an array of Student type and size 10, create a linked list of students by...

Given an array of Student type and size 10, create a linked list of students by linking students with an odd index first and then linking students with an even index. Write a loop to print out the students in the linked list

#include<iostream>

#include<string>

#include<fstream>

using namespace std;

const int NUM = 10;

struct Student{

string fName;

string lName;

Student * next;

};

int main() {

       Student stuArr[NUM];

       ifstream myfile;

       myfile.open("Test.txt");

       for(int i = 0; i < NUM; i++)

       {

             myfile>>stuArr[i].fName;

             myfile>>stuArr[i].lName;

             stuArr[i].next = 0;

       }

In: Computer Science

How can I make a PHP web app that will record student's names and grades? Req....

How can I make a PHP web app that will record student's names and grades?

Req.

  • A new table in our database called students.
  • Table should include 2 columns; student_name and student_grade [0 - 100].
  • Need 3 PHP called student_list.php, add_student.php, and delete_student.php.
  • The student_list.php code uses HTML and PHP to list all of the students in your student's table; including their student_name and student_grade [number grade] and letter grade.
  • Convert the number grade to a letter grade as follows.
    • returns 'A' if grade is <= 90
    • returns 'B' if the grade is in the range of 80 through 89
    • returns 'C' if the grade is in the range of 70 through 79
    • returns 'D' if the grade is in the range of 60 through 69
    • returns 'F' if grade is > 60
  • The student_list.php, after the list of students, include a link to Add a Student. This link should display add_student.php.
  • The add_student.php create a form to input the student_name and student_grade [number grade] and a button to add the student [2 textboxes and 1 button].
  • The button in the add_student.php is pressed, insert the new student_name and student_grade [number grade] into the student's table. Then display the student_list.php. The list of students in the student_list.php should show the new student that was just added.
  • In the student_list.php, include a Delete button for each student in the list.
  • The Deletes button is pressed, call the delete_student.php and delete that student from the student's table. Then display the student_list.php. The list of students in the student_list.php should not show the student that was just deleted.

In: Computer Science