In: Electrical Engineering
Math 473: R Homework #4 Name: Due: Thursday, November 7th at the beginning of class; if your homework is submitted at the end of class or later, it will be considered late. Please print this sheet and staple it to the front of your homework. You will not receive any credit for your program if it does not run, if you did not call the program from the R Console window, you call your program more than once from the R Console window, or your program is not done 100% in R. If you write your program line by line at the R prompt, or copy and paste it into the R prompt or submit more than one R program you will not receive any credit. You will not receive any credit for your program if your font is too small (less than 8) to be readable. You will not receive any credit if you do not use the “list” command or a command that performs the same function as “list”. See previous templates for examples. Write one R program to answer the following questions: 1. 48% of men consider themselves professional baseball fans. You randomly select 10 men and ask each if he considers himself a professional baseball fan. Determine the probability that the number of men who consider themselves baseball fans is exactly eight. 2. Fifty-five percent of households say they would feel secure if they had $50,000 in savings. You randomly select 8 households and ask them if they would feel secure if they had $50,000 in savings. Determine the probability that the number of households that say they would feel secure is more than five. 3. 32% of adults say cashews are their favorite kind of nut. You randomly select 12 adults and ask each to name his or her favorite nut. Determine the probability that the number of adults who say cashews are their favorite nut is at most two. 4. 29% of college students say they use credit cards because of the rewards program. You randomly select 10 college students and ask each to name the reason he or she uses credit cards. Determine the probability that the number of college students who say they uses credit cards because of the rewards program is between two and five inclusive. 5. Sixty-six percent of pet owners say they consider their pet to be their best friend. You randomly select 11 pet owners and ask them if they consider their pet to be their best friend. Determine the probability that the number of pet owners who say their pet is their best friend is at least eight. Type a comment next to each line in the R program. The comments should describe what each line does. Hint: See the Probability Distributions handout on Blackboard. Hint: Use the “list” command at the end of the program (see the dice template); assign your answers to variables. Submit a printed version of the following: 1. R program 2. Program output: answers to each of the 5 questions Grade distribution: 15 points: function comments 10 points: R Console window (need to show that you compiled the function using the source command, and need to show that you called the function) 75 points: function output (print R Console screen; 15 points for the correct answer to each problem; print R Console screen).
Please i need full R program not only the out put i need the program line by line from the syntax to the out put.. thank you
In: Math
Student must complete the following questions as per the instructions
Discuss the primary factors that motivate companies to expand internationally. As per your research (not your personal views) is it more profitable for an organization to expand internationally or stay in its home base and provide more employment at home?
Instructions
You must have a minimum of two academically reviewed journal articles sourced from the CU library to support your answer.
Please use full APA throughout (use in-text citations and a APA reference list). Post your responses in the body of the discussion area. DO NOT INCLUDE A WORD DOCUMENT.
Post your initial response no later than Wednesday of week 4 by 11:55pm EST, secondary responses must be posted by Sunday of week 4 by 11:55pm EST. Please note that initial post not completed on the due date will receive zero grade. All late assignments will receive a zero grade (late is considered 1 minute after 11:55pm EST). See class syllabus for late assignment policies. Review discussion/posting requirements.
Students are required to post their primary response (200 word minimum) Students will respond to at least 1 other postings (150 words minimum each).
Read and respond to at least one (1) of your classmates' posts. In your response to your classmates, consider comparing your articles to those of your classmates. Research from academic articles must be included in your responses to classmates post.
In: Economics
Select the experiments that use a randomized comparative design.
Environmental scientists are concerned with the effects of nitrogen on the drinking water supply. Hundreds of farmers have volunteered to participate in the study in exchange for free fertilizer. The scientists assign the low-nitrogen blend to 25 randomly chosen farms near rivers, creeks, and tributaries and assign the normal blend to 25 randomly chosen farms not near such bodies of water. The scientists then compare mean biomass production in grams per square meter during the growing season.
Participants in a study to determine the effects of a new cholesterol drug are divided into groups based on gender. All males receive the new drug, and all females receive a currently approved drug.
A gas company offers three plans to customers. The company randomly chooses 200 customers who have signed up for each of the three plans. It then compares their gas bills over six months to determine which plan saves customers the most money.
To test a new epidermal treatment on fish in polluted pond water, 60 fish with epidermal abrasions from the same pond are randomly placed into three groups. One group receives the new treatment, another group receives the existing treatment, and the third group receives no treatment.
Students have volunteered to participate in a study of the effects of caffeine on memory. A computer program assigns each student at random to drink either a caffeinated or a decaffeinated beverage. The students are then given a list of 20 different objects to study for one minute and asked to write down as many of the new objects as they can remember.
In: Statistics and Probability
Question 7 – Data Design Bundoora College has a small book store that opens for students, staff and general public. Currently, they use a manual order system. The manager asked you to build a database for them. You had an interview session with him and you get a general overview about the database requirements. The database should store: • Orders information made by students, staff or general public. The order should have order number, the date and the time it is made. • Customers details, so that the manager can notify the customers with the order status as well as send promotional material. The detail includes customer code, the full name, home address, contact phone number, and email address. • List of the items in each order. The items can be books and/or stationeries. For each book, you should be able to include the details such as the title, the authors, the ISBN, and the price. For stationery, you should have the code, description, and price. • If a book is required for a particular subject offered in Bundoora College, the database should store this data as well. The information includes the subject code, the subject name, the coordinator name, and the semester it is offered.
a) Create an Entity-Relationship Diagram (ERD) for the bookstore database. Make sure you include all required entities, relationships and cardinalities information. [15 marks]
b) Create the table design (schema) for the database. You should indicate clearly the primary and foreign keys for each table. [10 marks]
c) During which phase of the SDLC is ERD used? [5 marks]
In: Computer Science
The grade appeal process at a university requires that a jury be structured by selecting five individuals randomly from a pool of eight students and thirteen faculty.
(a) What is the probability of selecting a jury of all students?
(b) What is the probability of selecting a jury of all faculty?
(c) What is the probability of selecting a jury of three students and two faculty?
(Round to five decimal places as needed.)
In: Statistics and Probability
consider the research (alternative) hypothesis that less than 25 percent of U of T students watch the television show "American Idol." Suppose a random sample of 78 U of T students is selected and asked if they watch the show. With a 5% significance level, what is the probability of failing to reject the null hypothesis if in fact only 20 percent of U of T students watch the show
In: Statistics and Probability
Suppose the mean grade for a statistics midterm exam was 75, with a standard deviation of 10. Assume that your grades were normally distributed.
a. What percentage of students received at least an 90?
e. If 2 students failed the exam, i.e. their grades were less than 60, how many students took the test? Hint: First focus on p(x<60).
In: Statistics and Probability
rony wants to estimate the percentage of all aub students who study only a week before their exams. he has decided to obtain an 85% Confidence interval for the proportion of the undedicated students. he will ask a random sample of n aub students about their studying habits. if he wishes to obtain a CI with a precision width of 0.2, how large should the sample be?
In: Statistics and Probability
Suppose that the final grades in a stats course are approximately Normally distributed, with an average grade of 83 and a SD of 5. A student is randomly selected.
a.) what is the probability that the selected student received an A (at least 90)?
b.) the students know that their final grade is at the 81st percentile. Show whether or not that students grade is an A.
c.) if the students final grade is a least a B-, what is the probability that their final grade is at least an A?
In: Statistics and Probability