What Influences the Sample Size? We examine the effect of different inputs on determining the sample size needed to obtain a specific margin of error when finding a confidence interval for a proportion. Find the sample size needed to give, with 95% confidence, a margin of error within plus-or-minus 2% when estimating a proportion. First, find the sample size needed if we have no prior knowledge about the population proportion p. Then find the sample size needed if we have reason to believe that p almost-equals 0.7. Finally, find the sample size needed if we assume p almost-equals 0.8. Round your answers up to the nearest integer.
Population proportion Sample Size
No knowledge:
0.7:
0.8:
In: Math
Describe different techniques for masquerading as a particular host that uses SSL.
In: Computer Science
Q.1 Write a python program that will take in basic information from a student, including student name, degree name, number of credits taken so far, and the total number of credits required in the degree program. The program will then calculate how many credits are needed to graduate. Display should include the student name, the degree name, and credits left to graduate.
Write two print statements in this program. In the first one, use the .format method with pre-specified order of the displayed outputs.
In the second print, using different % operators to display the output. Make sure to display the output in an aligned format (look into a sample of the output below..).
Student name: xyz xyz
Degree name: comp. engineering
Credit taken so far: 13
Total number of credits required: 33
Number of credits needed to graduate: 20
Q.2 Write a python program that will take in the number of call minutes used. Your program will calculate the amount of charge for the first 200 minutes with a rate of $0.25; the remaining minutes with a rate of $0.35. The tax amount is calculated as 13% on top of the total. The customer could have a credit that also has to be considered in the calculation process. Finally, the program displays all these information. Below is a sample run:
Customer account number: 12345
Minutes used: (you provide)
Charge for the first 200 minutes@ 0.25: (you provide)
Charge for the remaining minutes@ 0.35: (you provide)
Taxes: (you provide)
Credits: (you provide)
Total bill: (you provide)
please provide .py program file screenshot and output.
In: Computer Science
1. Which of the following statements most accurately reflects the role of maltreatment in childhood psychopathology? Maltreatment is a:
A. Diagnostic category that includes children who have been physically abused and are exhibiting maladaptive behaviors.
B. Risk factor that may lead to a variety of maladaptive behaviors which may meet the criteria for a mental health disorder.
C. Diagnostic category that includes children who have been physically, sexually, or emotionally abused.
D. Risk factor that describes the victim and perpetrator’s relationship as it leads to psychopathology.
2. Describe two destabilizing or risk factors and two compensatory or protective factors for child maltreatment.
In: Psychology
Write a program driver that demonstrates that
your additions work. Use the following sets as part of your
demonstration
A {1,3,8}
B {2,3,5,10}
C {4,6}
show
A && B
A - B
A || B
A / B
A && C
A - C
A || C
A / C
In: Computer Science
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly survey 8 employees. The number of sick days they took for the past year are as follows: 12; 6; 14; 3; 11; 9; 7; 9. Let X = the number of sick days they took for the past year. Should the personnel team believe that the mean number is about 10? Conduct a hypothesis test at the 5% level. State the distribution to use for the test. What is the test statistic? What is the p-value? Construct a 95% confidence interval for the true mean. Sketch the graph of the situation. Label the point estimate and the lower and upper bounds of the confidence interval. (Round your answers to three decimal places.) **Please use a TI*$ Plus where possible**
In: Math
0.4800g of a mixture that is 80.0% by mass sodium carbonate and20.0% by mass sodium hydroxide reacts with 35.00mL of hydrochloricacid. Carbon dioxide is detected as one of the products. a. what is the normality of the hydrochloric acid? b. what is the molarity of the hydrochloric acid?
In: Chemistry
My Zombie, Myself
Why Modern Life Feels Rather Undead
Chuck Klosterman
Klosterman argues how zombies have become not only popular, but somehow representative of modern life.
Question:
Do you agree with this image? Why or why not?
Please, support with quotes from reading.
In: Operations Management
1) What leadership skills are important to a good leader?
2) What are some examples of good leadership - attach a link.
3) Based on the skills you listed and your example posted, which of
these skills are communication-related?
4) How can someone acquire these skills if they don't have
them?
In: Operations Management
List three guidelines for the provision of ADL support to elders functioning at the midstage level of AD.
In: Psychology
How social influence is related to social behaviours?
- Do you agree? Explain your own opinion whether social influence
is the most basic and important aspect of social behaviour based on
your knowledge and observation
- Justify why you agree or disagree.
- Which types of social behaviours are related to social influence?
Aggression and antisocial behaviour? Attraction and exclusion?
Intimate relationship? Prejudice and intergroup relations? Group
behaviour? Power and leadership? Etc
In: Psychology
Professor Fair believes extra time does not improve grades on exams. He randomly divided a group of 300 students into two groups and gave them all the same test. One group had exactly 1 hour in which to finish the test, and the other group could stay as long as desired. The results follow. Test at the 0.01 level of significance that time to do a test and test results are independent.
|
Exam Grades |
|||||
|
Time |
A |
B |
C |
F |
Row Total |
|
1 hour |
23 |
42 |
65 |
12 |
142 |
|
Unlimited |
17 |
48 |
85 |
8 |
158 |
|
Column Total |
40 |
90 |
150 |
20 |
300 |
A. What is the null hypothesis?
B. What is the alternative hypothesis?
C. What distribution are you using?
D. What test are you running?
E. What is your conclusion?
In: Math
Write a method that will have a C++ string passed to it. The string will be an email address and the method will return a bool to indicate that the email address is valid.
Email Validation Rules: ( These rules are not official.)
1) No whitespace allowed
2) 1 and only 1 @ symbol
3) 1 and only 1 period allowed after the @ symbol. Periods can exist before the @ sign.
4) 3 and only 3 characters after the period is required.
*****************************
Program will prompt for an email address and report if it is valid or not according to the rules posted above. The program will loop and prompt me to continue.
*****************************
In: Computer Science
7. In 2019, Taxpayer (“T”) is a single, 65 year-old individual who is a U.S. citizen. T turned 65 in 2019. T receives $18,000 of social security income in 2019 (the first year T received Social Security Benefits). Also, T received $6,000 of interest income from a municipal bond in both 2018 and 2019. On June 1, 2018, T took a job with a multi-national corporation which paid T $5,000 per month. As a condition of the job, T is required to work overseas, in the country of Austria, and T did in fact work in Austria for 214 days (From June 1 – December 31) in 2018. T is offered to continue to work (still in Austria and still for $5,000 per month) for seven additional months (from January 1 until the end of July, which is 211 days) in 2019, at which point T’s position would terminate. T is trying to decide whether T wants to continue to work for seven months in 2019 or quit on January 1. (These are T’s only transactions during 2018 and 2019).
a. What is T’s Gross Income in 2019 if T continues to work through July of 2019? __________________________________
b. What is T’s Gross Income in 2019 if T does NOT continue to work in 2019? __________________________________
c. Excluding the effects of the payroll tax and any credits, What is the economic benefit to T of continuing to work for 7 months in 2019 (meaning how much total extra money, after-tax, will T have as a result of continuing to work in 2019)? _____________________
In: Finance
There is a single-plank bridge. Only one person can cross the
bridge without any stop. The pedestrian can cross the bridge from
west to east or from east to west. If there is more than 0
pedestrian crossing the bridge from west to east, no pedestrian can
try to cross the bridge from east to west, but more than 1
pedestrian can cross the bridge from west to east, and vice versa.
The pedestrian can cross the bridge immediately if there is no
pedestrian on the bridge. Use Semaphore to solve this
problem.
In: Computer Science