Questions
Dr. Vegapunk thinks that watching anime (Japanese animated shows) decreases social skills in college students. To...

Dr. Vegapunk thinks that watching anime (Japanese animated shows) decreases social skills in college students. To test this, Dr. Vegapunk randomly selected 30 brooklyn college students and assigned them to watch an episode of anime everyday for a week. After the week, each of the students answered a questionnaire about their social skills. The results showed that the sample had a mean social skills score of 7.3 and a standard deviation of 2.4. A previous study showed that the overall population of brooklyn college students had a mean social skills score of 6.2, but the standard deviation was not reported. Dr. Vegapunk decides to use an alpha level of 0.05.

a) what test should he use?

b) what is the alternative hypothesis?

c) what is the null hypothesis?

d) what is the critical value?

e) what is the obtained statistic?

In: Psychology

1. A university wants to estimate the proportion of its students who smoke regularly. Suppose that...

1. A university wants to estimate the proportion of its students who smoke regularly. Suppose that this university has N = 30, 000 students in total and a SRSWOR of size n will be taken from the population. a) If the university wants the proportion estimator ˆp to achieve the precision with tolerance level e = 0.03 and risk α = 0.1. Estimate the minimal sample size needed for this estimation. (z0.1 = 1.28, z0.05 = 1.65) b) Suppose that, in a pilot study, the university takes a SRSWOR of size 20 students, among which only 2 students are found to be smokers. Based on this preliminary result, re-compute the minimal sample size for part (a). c) Suppose the university chooses the sample size estimated from (b), and finds that the sample proportion is ˆp = 0.15. Construct a 90% confidence interval for the population proportion p

In: Math

C++ programming: FUNCTIONS WITH DIFFERENT RETURN TYPES AND PARAMETERS NuMetro has a special on movies for...

C++ programming: FUNCTIONS WITH DIFFERENT RETURN TYPES AND PARAMETERS

NuMetro has a special on movies for all members of the public but special discounts for students and pensioners. If pensioners or students buy a movie ticket they receive 10% if they buy a movie and popcorns, they receive 20% discount. Other customers only receive a discount when they buy a movie ticket and popcorn; there is no discount for just a movie ticket alone. Write a program named question5b.cpp that will consist of two functions. The program must prompt the user for type of customer (‘p’ for pensioner, ‘s’ for student, ‘o’ for other). It must then call the relevant function according to that entry. The first function must receive the customer type and calculates discount for pensioners and students. The second function calculates the discount for customers that are not pensioners or students.

In: Computer Science

the scores of students on the SAT college entrance examinations at a certain high school had...

the scores of students on the SAT college entrance examinations at a certain high school had a normal distribution with mean μ=536.1μ=536.1 and standard deviation σ=27.9σ=27.9.

(a) What is the probability that a single student randomly chosen from all those taking the test scores 540 or higher?
ANSWER:  

For parts (b) through (d), consider a simple random sample (SRS) of 35 students who took the test.

(b) What are the mean and standard deviation of the sample mean score x¯x¯, of 35 students?
The mean of the sampling distribution for x¯x¯ is:  
The standard deviation of the sampling distribution for x¯x¯ is:

(c) What z-score corresponds to the mean score x¯x¯ of 540?
ANSWER:

(d) What is the probability that the mean score x¯x¯ of these students is 540 or higher?
ANSWER:  

In: Math

Use Python to Complete the following on a single text file and submit your code and...

Use Python to Complete the following on a single text file and submit your code and your output as separate documents. For each problem create the necessary list objects and write code to perform the following examples:

Sum all the items in a list.

Multiply all the items in a list.

Get the largest number from a list.

Get the smallest number from a list.

Remove duplicates from a list.

Check a list is empty or not.

Clone or copy a list.

Find the list of words that are longer than n from a given list of words.

Take two lists and returns True if they have at least one common member.

Print a specified list after removing the 0th, 4th and 5th elements.
Sample List: ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow']
Expected Output: ['Green', 'White', 'Black']

Print the numbers of a specified list after removing even numbers from it.

Shuffle and print a specified list.

Get the difference between the two lists.

Convert a list of characters into a string.

Find the index of an item in a specified list.

Append a list to the second list.

Select an item randomly from a list.

Find the second smallest number in a list.

Find the second largest number in a list.

Get unique values from a list.

Get the frequency of the elements in a list.

Count the number of elements in a list within a specified range.

Check whether a list contains a sub list.

Create a list by concatenating a given list which range goes from 1 to n.
Sample list : ['p', 'q'], n = 5
Sample Output : ['p1', 'q1', 'p2', 'q2', 'p3', 'q3', 'p4', 'q4', 'p5', 'q5']

Find common items from two lists.

Change the position of every n-th value with the (n+1)th in a list.
Sample list: [0, 1, 2, 3, 4, 5]
Expected Output: [1, 0, 3, 2, 5, 4]

Convert a list of multiple integers into a single integer.
Sample list: [11, 33, 50]
Expected Output: 113350

Split a list based on the first character of a word.

Select the odd items of a list.

Insert an element before each element of a list.

Print all elements of a nested lists (each list on a new line) using the print() function.

Split a list every Nth element.
Sample list: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n']
Expected Output: [['a', 'd', 'g', 'j', 'm'], ['b', 'e', 'h', 'k', 'n'], ['c', 'f', 'i', 'l']]

Create a list with infinite elements.

Concatenate elements of a list.

Convert a string to a list.

Replace the last element in a list with another list.
Sample data : [1, 3, 5, 7, 9, 10], [2, 4, 6, 8]
Expected Output: [1, 3, 5, 7, 9, 2, 4, 6, 8]

Check if the n-th element exists in a given list.

Find a tuple with the smallest second index value from a list of tuples.

Insert a given string at the beginning of all items in a list.
Sample list: [1,2,3,4], string: emp
Expected output: ['emp1', 'emp2', 'emp3', 'emp4']

Find the list in a list of lists whose sum of elements is the highest.
Sample lists: [1,2,3], [4,5,6], [10,11,12], [7,8,9]
Expected Output: [10, 11, 12]

Find all the values in a list are greater than a specified number.

Extend a list without append.
Sample data: [10, 20, 30]
[40, 50, 60]
Expected output: [40, 50, 60, 10, 20, 30]

Remove duplicates from a list of lists.
Sample list : [[10, 20], [40], [30, 56, 25], [10, 20], [33], [40]]
New List : [[10, 20], [30, 56, 25], [33], [40]]

In: Computer Science

#include<stdio.h> #include<stdlib.h> struct listNode{ int data; struct listNode *nextptr; }; typedef struct listNode node; void insert(node*);...

#include<stdio.h>
#include<stdlib.h>

struct listNode{
int data;
struct listNode *nextptr;
};

typedef struct listNode node;

void insert(node*);
void showList(node*);
void printListBackwards(node *);

int main(void)
{
node *list1;
printf("\n Create a sorted list..");
printf("\n Enter values for the first list (-999 to end):");
list1=(node*)malloc(sizeof(node*)); //Allocate memory for the list node
insert(list1); //insert values by calling the function insert
showList(list1); //display values entered by user
printf("\n After recursively reversing the list is :\n");
printListBackwards(list1); //print the values in reverse order using the function
return (0);
}

void insert(node *list)
{
printf("\n Enter data :");
scanf("%d",&list->data);

if(list->data ==-999) //end data entry if -999
{
(list->nextptr);
}
else
{
list->nextptr = (node *)malloc(sizeof(node));
insert(list->nextptr);
}
}
void showList(node *list)
{
node *p;
for (p=list;p->nextptr !=NULL;p=p->nextptr) //loop until the end of list and print values
printf("%d",p->data);
if(list->nextptr ==NULL) //if the list does not have nodes
{
printf("\n The list is empty!");
}
}

void printListBackwards(node *list)
{ if(list->nextptr ==NULL) //if the end of list is encountered
return;
else //if there are nodes in the list,use the function recursively to print the list
{
printListBackwards(list->nextptr);
printf("%d",list->data);
}

}

can you provide a pseudocode for this program

In: Computer Science

1.) The time college students spend on the internet follows a Normal distribution. At Johnson University,...

1.)

The time college students spend on the internet follows a Normal distribution. At Johnson University, the mean time is 5.5 hours per day with a standard deviation of 1.1 hours per day.

  1. If 100 Johnson University students are randomly selected, what is the probability that the average time spent on the internet will be more than 5.8 hours per day?
    Round to 4 places.  
  2. If 100 Johnson University students are randomly selected, what is the probability that the average time spent on the internet is between 5.3 hour and 5.8 hours?
    Round to 4 places  
  3. If 100 Johnson University students are randomly selected, what mean number of hours on the internet per day separated the bottom 33% and top 67% of internet usage for college students?  
    hours per day. Round to 2 places.

2.)

A manufacturer knows that their items have a normally distributed lifespan, with a mean of 10.1 years, and standard deviation of 0.5 years.

If 19 items are picked at random, 3% of the time their mean life will be less than how many years?

Give your answer to one decimal place.

In: Statistics and Probability

study of 100 students in a local university gave the average GPA to be 3.1 with...

study of 100 students in a local university gave the average GPA to be 3.1 with a standard deviation of.5. The same study revealed that in this sample, 20% are out of state students.

Question 1

100 students, the critical value at alpha=.06, to test the hypothesis that the true mean GPA is different from 3.0 is............. , while the test statistic value, correct up to 2 decimal places is.................

Question 2

the same study with 100 students, the critical value at alpha=.06, to test the hypothesis that the true mean GPA is more than 3.0 is......
........ , while the test statistic value, correct up to 2 decimal places is............
Useful key words (phrases) are: parameter of interest, one tailed or two tailed, large or small sample, df

Question 3

lower bound, correct up to 3 decimal places, of a 95% confidence interval for the true GPA with a sample size of 20, a sample mean of 3.1 ad a standard deviation of 0.5 is

Question 4

lower bound, correct up to 3 decimal places of a 90% confidence interval for the true proportion of out of state students is

In: Statistics and Probability

4 questions about social statistic test scores of students : 66 89 47 63 40 51...

4 questions about social statistic

test scores of students : 66 89 47 63 40 51 62 80 60 97 48 64 67 97 60 67 81 64 74 38 69 50 59 80 57 33 47 72 68 91 74 47 73 50 52 43 54 98 54 63 79 33 51 54 60 44 82 43 32 48 46 57 47 92 72 87 71 79 84 41 40 58 44 61 38 92 71 41 83 84

What % of students received the high est score and the low est score?

What % of students received the most c ommon score?

What score did the students receive on average ? (I need statistical formula and process of calculation)

What score did almost half of th e students receive ? (I need statistical formula and process of calculation)

In: Statistics and Probability

4 questions about social statistic test scores of students : 66 89 47 63 40 51...

4 questions about social statistic

test scores of students : 66 89 47 63 40 51 62 80 60 97 48 64 67 97 60 67 81 64 74 38 69 50 59 80 57 33 47 72 68 91 74 47 73 50 52 43 54 98 54 63 79 33 51 54 60 44 82 43 32 48 46 57 47 92 72 87 71 79 84 41 40 58 44 61 38 92 71 41 83 84

What % of students received the high est score and the low est score?

What % of students received the most c ommon score?

What score did the students receive on average ? (I need statistical formula and process of calculation)

What score did almost half of th e students receive ? (I need statistical formula and process of calculation)

In: Statistics and Probability