Questions
Employees Age Salary Mary 23 28.6 Frieda 31 53.3 Alicia 44 73.8 Tom 22 26.0 Gillian...

Employees

Age

Salary

Mary

23

28.6

Frieda

31

53.3

Alicia

44

73.8

Tom

22

26.0

Gillian

25

34.3

Bob

54

63.5

Vivian

51

96.4

Cacil

60

122.9

Barry

40

63.8

Jaime

64

111.1

Wanda

34

82.5

Sam

63

80.4

Saundra

40

69.3

Pete

31

52.8

steve

28

54.0

Juan

36

58.7

Dave

58

72.3

Lee

52

88.6

Judd

43

60.2

Sunil

28

61.0

Marcia

54

75.8

Ellen

44

79.8

Iggy

36

70.2

  1. Can we conclude that employee age helps in predicting average employee salary? Follow the 7 steps for hypothesis testing. (10 points)
  2. Find the sample regression equation and interpret the coefficients. Remember your interpretations should be in terms of the problem. (4 points)
  3. Find the coefficient of determination, and interpret its value. (3 points)
  4. Use residual analysis to check the validity of the model and fully explain your findings and conclusions. (6 points)
  5. Estimate with 95% confidence the average employee salary for all employees that are 35 years old. Predict with 95% confidence the estimated salary for an individual employee that is 35 years old. Write at least one sentence using your confidence interval and at least one sentence using your prediction interval. (6 points)
  6. Verify that the p-value for the F is the same as the slope’s t statistic’s p-value, and show that t2 = F. (3 points)
  7. Attach or include the relevant Minitab output. (6 points)

In: Math

Question One (Chapter Two): Pick two of the theories of mis-perception: self-fulfilling prophecy, personality theory, primacy-recency,...

Question One (Chapter Two): Pick two of the theories of mis-perception: self-fulfilling prophecy, personality theory, primacy-recency, stereotyping, consistency, attribution of control. Explain them in your own words and give examples. 40-43

Question Two (Chapter Three): What is the difference between hearing and listening? Explain the styles of effective listening. (pages 61 – 67)

In: Psychology

M8 Assessment: Testing Difference between Means (t-tests) Concluding Statements for t-tests: These statements should always reflect...

M8 Assessment: Testing Difference between Means (t-tests)

Concluding Statements for t-tests: These statements should always reflect back on the study and outcome, or results. Practice writing statements for each outcome in your practice problems and homework. Use the following example write-up for problems 7-10.

  • An [independent samples or dependent sample] t-test was conducted to determine [state the purpose of the study]. The results revealed [a significant or no significant] difference between [state the groups and/or independent variable] on [state the dependent variable] (t ([degrees of freedom]) = [enter computed value for t], p [< or >]* .05). In fact, [state each group and explain how the means compare].

*The less than (<) sign means the results are significant and the greater than (>) sign means the results are not significant.

Questions 1-3: Dr. Mackintosh believes a new olfactory therapy would be more successful in promoting weight loss among obese patients. His patients are first weighed and then randomly assigned to olfactory therapy, dance therapy, or a control condition. At the end of the three weeks, the amount of weight lost is recorded. The results indicate no significant difference in the amount of weight lost between the three conditions.

  1. Identify the independent variable along with each level and the dependent variable.


  1. If true differences existed between the conditions, but they were not detected, what kind of error occurred?


  1. If differences in conditions were detected, but did not really exist, what kind of error occurred?



Questions 4-6: A sleep researcher wants to determine whether a new pillow might reduce snoring amongst patients with this type of sleep apnea. Participants are randomly assigned to use the new pillow or a control condition (regular pillow). Their sleep behavior is recorded on audiotape with time snoring. The findings indicate significantly less snoring takes place with the new pillow.

  1. Identify the independent variable (and categories) and the dependent variable.


  1. Explain a Type I error in terms of this study.


  1. Explain a Type II error in terms of this study.













Questions 7-10: Compute the appropriate t-test.

  1. A researcher interested in eating behavior wants to determine if scary movies cause people to eat more popcorn than musicals. You randomly assign 10 participants to a group that watches a scary movie (Psycho) and another 10 participants to a group that watches a musical (The Sound of Music). At the beginning of the movie, you give each participant a tub of 84 pieces of popcorn and tell each person not to share their popcorn with anyone. At the end of the movie, you measure the number of pieces of popcorn eaten by each participant. The data are shown below. Based on the results of this t-test, state the conclusions about the difference between the pieces of popcorn eaten by subjects viewing a scary movie versus a musical.

Scary Musical

   X Y      

  45 32

  67 38

  69 33

  56 49

  73 44

  56 60

  63 48

  84 36

  49 23

  56 39





















  1. An education researcher is interested in the ability of preschool children to solve math story problems. He wants to see if the method of presentation, either as verbal story problems or as visual story problems, makes a difference in preschoolers' abilities to solve the problems correctly. In an example of the verbal condition, a child is asked, "Two birds are sitting on a fence; two more birds fly down and join them. How many birds are on the fence altogether?" In an example of the nonverbal, visual equivalent of this problem, the experimenter presents the child with a picture of two birds on the fence with two birds in the process of landing on the fence and then asks the child, "How many birds are on the fence altogether?" In both conditions, the child responds orally. Shown below is the number of correct answers out of 10 problems for each child. What conclusions about the difference between a preschooler's ability to solve simple math problems presented either verbally or nonverbally can be made from these results?

Child Verbal Nonverbal

C. J. 3 6

F. K. 5 8

M. O. 7 9

I. M. 4 8

G. G. 2 4

K. T. 1 1

B. W. 4 3

M. B. 2 8






















  1. Education researchers were interested in whether the number of close friends changes between the time students enter college and the beginning of their second year of college. A sample of 12 (entering) first-year students was used to examine the question. Data for this sample are shown below.






















    In: Statistics and Probability

    How do you create a frequency distribution on excel using all 7 variables? Customer Type of...

    How do you create a frequency distribution on excel using all 7 variables?

    Customer Type of Customer Items Net Sales Method of Payment Gender Marital Status Age
    1 Regular 1 39.50 Discover Male Married 32
    2 Promotional 1 102.40 Proprietary Card Female Married 36
    3 Regular 1 22.50 Proprietary Card Female Married 32
    4 Promotional 5 100.40 Proprietary Card Female Married 28
    5 Regular 2 54.00 MasterCard Female Married 34
    6 Regular 1 44.50 MasterCard Female Married 44
    7 Promotional 2 78.00 Proprietary Card Female Married 30
    8 Regular 1 22.50 Visa Female Married 40
    9 Promotional 2 56.52 Proprietary Card Female Married 46
    10 Regular 1 44.50 Proprietary Card Female Married 36
    11 Regular 1 29.50 Proprietary Card Female Married 48
    12 Promotional 1 31.60 Proprietary Card Female Married 40
    13 Promotional 9 160.40 Visa Female Married 40
    14 Promotional 2 64.50 Visa Female Married 46
    15 Regular 1 49.50 Visa Male Single 24
    16 Promotional 2 71.40 Proprietary Card Male Single 36
    17 Promotional 3 94.00 Proprietary Card Female Single 22
    18 Regular 3 54.50 Discover Female Married 40
    19 Promotional 2 38.50 MasterCard Female Married 32

    In: Statistics and Probability

    In a survey, 17 people were asked how much they spent on their child's last birthday...

    In a survey, 17 people were asked how much they spent on their child's last birthday gift. The results were roughly bell-shaped with a mean of $34 and standard deviation of $8. Find the margin of error at a 95% confidence level.

    Give your answer to two decimal places.

    In: Statistics and Probability

    The following is a simplified duopoly model of competition between two firms. Each firm is restricted...

    1. The following is a simplified duopoly model of competition between two firms. Each firm is restricted to producing 25, 35, 50 or 100 units of output. The details of how the payoffs are derived are unimportant because payoffs are all given in the table below.

                                                                                      FIRM 2

    25

    35

    50

    100

    25

    125, 125

    100, 140

    63, 125

    -63, -250

    FIRM 1

    35

    140, 100

    105, 105

    53, 75

    -123, -350

    50

    125, 63

    75, 53

    0, 0

    -250, -500

    100

    -250, -63

    -350, -130

    -500, -250

    -900, -900

    1. Now assume that FIRM 1 is the Stackelberg leader in this market. And FIRM 2 is the follower. Being the leader, FIRM 1 makes the first move in choosing the quantity of output, followed by FIRM 2. Draw the extensive form or the game tree for this sequential form game.
    1. Using the game tree, now determine the sub-game perfect Nash equilibrium(s). Describe the process that helps you in determining it.

    In: Economics

    Java code TIA I need this: Your program makes accommodations for repeating digits. For example if...

    Java code

    TIA

    I need this: Your program makes accommodations for repeating digits. For example if the random numbers generated were 141 in that order. Then the user entered 271 in that order, be sure that the last one does not count a match to the first and third numbers of the random numbers. They only matched one number in this case. Now if the random numbers are 141 in that order and the user enters 113, then they did match 2 numbers. If they enter 114 then they match 3 numbers but not in order.

    public class lotteryGame {
    //declaring varibales
    static int a,b,c,n1,n2,n3,matchCount=0;
    static Scanner input = new Scanner (System.in);
    public static void matchNumbers(int a,int b,int c) {
    Random random=new Random();
    //generating three random numbers (between 0 to 10) and storing it in n1,n2 and n3
    n1= random.nextInt(10);
    n2= random.nextInt(10);
    n3= random.nextInt(10);
    //comapring three random numbers with user entered numbers
    if(n1==a)
    matchCount++;
    if(n2==b)
    matchCount++;
    if(n3==c)
    matchCount++;
    //checking how many numbers matched
    if(matchCount==1){
    System.out.println("\nYou guessed 1 number correctly");
    System.out.println("\n***Congratulations you have won $10000***");
    }
    else if(matchCount==2){
    System.out.println("\nGOOD!!,You guessed 2 numbers correctly");
    System.out.println("\nCongratulations you have won $100000");
    }

    else if(matchCount==3){
    System.out.println("\nAmazing!!,You guessed all 3 numbers correctly");
    System.out.println("\n***Congratulations you have won $1000000***");
    }
    else
    {
    System.out.println("\nYou guessed all 3 numbers in-correctly");
    System.out.println("-1");
    }
    }   
    public static void main(String args[])
    {
    //printing welcome message and also the amount for correct guesses
    System.out.println("********WELCOME TO LOTTERY GAME********");
    System.out.println("GAME PRICES: ");
    System.out.println("FOR ALL THREE CORRECT MATCHES: $1000000");
    System.out.println("FOR TWO CORRECT MATCHES: $100000");
    System.out.println("FOR ONLY ONE CORRECT MATCHES: $10000");
    System.out.println("FOR ALL THREE IN-CORRECT MATCHES: it will show -1");
    //reading three numbers from users
    System.out.println("\nEnter three numbers(0<=numbers<10): ");
    a=input.nextInt();
    b=input.nextInt();
    c=input.nextInt();
    //calling method matchNumbers() by passing three parameters
    matchNumbers(a,b,c);

    }
      
    }

    In: Computer Science

    a) Using the "Best Actor Oscar Winners (from 1970-2001)" [LINK] data: Which is using the data:...

    a) Using the "Best Actor Oscar Winners (from 1970-2001)" [LINK] data:

    Which is using the data: 43, 40, 48, 48, 56, 38, 60, 32, 40, 42, 37, 76, 39, 55, 45, 35, 61, 33, 51, 32, 43, 55, 42, 37, 38, 31, 45, 60, 46, 40, 36, 47

    A. How many observations are in the data set?

    B. What is the mean age of actors who won the Oscar? (Round to two decimal places)

    C. What is the 5 Number Summary of the distribution?

    • 31, 37.5, 42.5, 49.5, 76
    • 31, 37.5, 45 ,49.5 ,76
    • 31, 37.5, 44.7 ,49.5 ,76

    B) Using the "Best Actor Oscar Winners (from 1970-2001)" [LINK] data:

    Which is using the data: 43, 40, 48, 48, 56, 38, 60, 32, 40, 42, 37, 76, 39, 55, 45, 35, 61, 33, 51, 32, 43, 55, 42, 37, 38, 31, 45, 60, 46, 40, 36, 47

    Use information from the Five Number Summary you just found to answer the following:

    A. Half of the actors won the Oscar before what age? (Round to one decimal place)

    B. What is the range covered by all of the actors' ages? (Round to one decimal place)

    C. What is the range covered by the middle 50% of the ages? (Round to one decimal place)

    In: Statistics and Probability

    C program simple version of blackjack following this design. 1. The basic rules of game A...

    C program simple version of blackjack following this design.

    1. The basic rules of game

    A deck of poker cards are used. For simplicity, we have unlimited number of cards, so we can generate a random card without considering which cards have already dealt. The game here is to play as a player against the computer (the dealer). The aim of the game is to accumulate a higher total of points than the dealer’s, but without going over 21. The cards 2 to 10 have their face values as points. J, Q, and K are10 points each, and the Ace is either 1 point or 11 points (player's choice). To simplify the matter, we consider that the Ace is 11 points and we don’t have card J, Q, or K unless you like to implement the option anyway.

    a)  Betting


    The player first places a bet. Let’s assume the minimum bet is $10 and maximum = is $1000.

    b) Each play will result in one of the following events for the player

    • Lose -- the player's bet is taken by the dealer.
    • Win -- the player wins as much as the bet. If s/he bet $= 10, s/he wins $10 from the dealer.
    • Blackjack - the player wins 1.5 times the bet. With a bet of $10, s/he wins $15 from the dealer. To simplify the matter, you can ignore Blackjack.
    • Push - the hand is a draw. The player keeps his/her bet, neither winning nor losing money.

    c) The start of the game


    At the start, the player and the dealer receive two cards each. The player’s cards are normally dealt face up (displayed), while the dealer has one face down (called the hole card) and one face up. The best possible blackjack hand is an opening deal of an Ace with any of the ten-point cards. This is called a "blackjack", or a natural 21, and the player holding this automatically wins unless the dealer also has a blackjack. If a player and the dealer each have a blackjack, the result is a push.


    d)   The player’s turn


    The player can keep his hand as it is (stand) or take more cards from the deck (hit), one at a time, until either the player judges that the hand is strong enough to go up against the dealer’s hand and stands, or until it goes over 21, in which case the player immediately loses (busted).


    e) The dealer’s turn

    The dealer turns over the hidden hole card. The dealer hits (takes more cards) or stands depending on the value of the hand. The dealer must hit if the value of the hand is lower than 17, otherwise the dealer stands.


    If the dealer is busted, the player wins. Otherwise the player wins if s/he has a higher score, loses if s/he has a lower score, or pushes if s/he has the same score as the dealer.

    Blackjack consideration is not required, unless you like to implement the option anyway. By the way, a blackjack hand beats any other hand, also those with a total value of 21 but with more cards (which is not a natural blackjack).


    f)  The program towards the end


    If the player won or lost, s/he must decide whether to quit or to play another game unless the player runs out of money. Your program should give the player an initial betting amount of $1000.00.

    2. The specific design of this project

    a)  The main() program and its variables


    You will need to decide on appropriate variables in which to store the player's bankroll (in order to keep track of how much money or how many points the player has), the bet at a game, and other information. Let’s use an integer array gamerecord[] to store how many times the player won, lost, hit a blackjack, and got busted. (Again, blackjack is optional).


    The bankroll, bet, and gamerecord[] should be kept up to date on the player's current status. (The program calls playing() to play a game, as discussed below. )


    After each game, the program must report the result of the game: the amount of money won or lost, the current value of the bankroll, how many times the player won and lost, and how many times the player hit a blackjack and got busted. (You may want to record and report how many times the dealer got busted as well, as an option.)

    After each game (by calling playing()), the program should allow the player to continue playing until s/he chooses to quit, or until s/he runs out of money. This central program control may be done within main(), in a do-while loop: 1) call playing() to play a game; 2) check whether to play again. We will add some more components later.


    b) “Dealing” the card: the dealing() function


    A separate dealing() function will be used to generate a card number. You may want to implement and double check this function first. You will use a random number generator. The random number generator needs to be seeded with the current time at the beginning of the main program. The possible random values generated are 1 to 10 (or 13 if J, Q, and K are considered), representing the cards’ face values. This function will return the number generated. The return value 1 represent the Ace’s face value (and the return value 11, 12, and 13 are J, Q, and K’s face value, respectively.) A large random number n can be converted to a value between 1 to 13 by:  (1 + n%13).


    c) “Playing” the game: playing() function


    A second function playing() will be used to play a single game until the player either wins or loses a bet, based upon the rules given above. This function should get a bet, modify the current amount of the player's bank roll according to the game result, modify the gamerecord array values of the player won or lost, and the player hit the blackjack or got busted.  These values are returned through function parameters by address passing in playing().


    Within the function, the player is asked to place a bet (10 to 1000 within the bankroll amount), so the corresponding value is read from the keyboard. The system (dealer) then "deals the cards" (simulated by calling the function dealing(), one card at a time). After each dealing, this function should report the card values, except the dealer’s hole card. The function should have two variables to store the player and the dealer’s scores. Remember face value 1 represents score 11 (or 1 if you want to be more complete as an option, and 11, 12, or 13 represents score 10).


    The player can keep his hand as it is (stand) or take more cards from the deck (hit), one at a time, until either the player judges that the hand is strong enough to go up against the dealer's hand and stands, or until it goes over 21, in which case the player immediately loses the bet.


    The dealer turns over his hidden hole card by displaying the hold card face value, and starts the game process automatically until the dealer wins or loses.

    d) "Ending" and "Beginning" of the game


    This part is implemented after you have done your programming as described above already.

    You need a separate function ending() to do the following: you should report the current value of the bank roll, how many times the player won, lost, hit a blackjack, and went busted. You need to save the above information into a text file as well.


    You need a separate function beginning() to do the following at the beginning of your program in main(): the function will open the text file you used to save the game information for reading if it exists, so that your game can continue from previous played results. If the file does not exist or the bank roll has a balance below the minimum bet, you start the game from scratch as usual, and report “new game” or “continual game”.

    So,  main() includes 1) beginning();  2) a loop: playing(); 3) ending();


    In: Computer Science

    how to calculate this question tep by step plz tell me A company has recorded data...

    how to calculate this question tep by step plz tell me A company has recorded data on the weekly sales for its product (y), the unit price of the competitor's product (x1), and advertising expenditures (x2). The data resulting from a random sample of 7 weeks follows. Use Excel's Regression Tool to answer the following questions (data set also provided in accompanying MS Excel file). Week Price Advertising Sales 1 .33 5 20 2 .25 2 14 3 .44 7 22 4 .40 9 21 5 .35 4 16 6 .39 8 19 7 .29 9 15 a. What is the estimated regression equation? Show the regression output. b. Determine whether the model is significant overall. Use α = 0.10. c. Determine if competitor’s price and advertising is individually significantly related to sales. Use α = 0.10. d. e. Based on your answer to part (c), drop any insignificant independent variable(s) and re-estimate the model. What is the new estimated regression equation? Interpret the slope coefficient(s) of the model from part (d). (

    In: Statistics and Probability