Questions
1) Pretend you are a cognitive behavioral psychologist. What cognitive and behavioral techniques would you use...

1) Pretend you are a cognitive behavioral psychologist. What cognitive and behavioral techniques would you use to treat the following: -loneliness/fear of developing a friendship with others, -fear of losing weight despite morbid obesity, and -a not well acknowledged fear of sexual intimacy even though they have a strong desire for it.

Please answer in detail. Thank you.

In: Psychology

Use the Aggregate Demand and Aggregate supply model to explain the current crisis on the coronavirus....

Use the Aggregate Demand and Aggregate supply model to explain the current crisis on the coronavirus. Explain the current economic contraction without talking about the government and Federal Reserve responses. Start with talking about how AD and/or AS would be affected by social distancing measures which means that people would stay home, unemployment rises, and non-essential business close.

In: Economics

Researchers studying the link between prenatal vitamin use and autism surveyed the mothers of a random...

Researchers studying the link between prenatal vitamin use and autism surveyed the mothers of a random sample of children aged 24 - 60 months with autism and conducted another separate random sample for children with typical development. The table below shows the number of mothers in each group who did and did not use prenatal vitamins during the three months before pregnancy (periconceptional period). Researchers studying the link between prenatal vit (a) State appropriate hypotheses to test for independence of use of prenatal vitamins during the three months before pregnancy and autism. (Think about the definition of independence and how that relates to proportions and the data given.) (b) Complete the hypothesis test and state an appropriate conclusion. (Reminder: verify any necessary conditions for the test.) (c) A New York Times article reporting on this study was titled

In: Statistics and Probability

Design an imaginary food web or describe a real one. Include at least 4 living organisms...

Design an imaginary food web or describe a real one. Include at least 4 living organisms that interact in your ecosystem.

Answer the following questions about the food web you designed/described:

  1. Explain what would happen to the other members of the food web within your ecosystem if a top predator were removed
  2. Explain possible effects to the abiotic components that result from the disruption of your ecosystem.
  3. How can the damage or change to your ecosystem be repaired?

In: Operations Management

Write a Personal Ethics Statement includes the following: 1- The first part of your personal code...

Write a Personal Ethics Statement includes the following:

1- The first part of your personal code of ethics is where you will develop the philosophy (why) behind your code of ethics. The only requirement is that the purpose, as well as the code of ethics, be tailored to your needs.

2- The second part of your personal code of ethics is the “I will” section of your personal code of ethics. God, in the Bible, set up His “I will’s” which are based on who He is. This is the same thing you need to do. This is the aspirations section of your document.

3- The third part of your code of ethics is the rules or beliefs (how) you expect yourself to follow when dealing with others. In this section, you might want to list some inspirational nuggets that help you to see the importance of applying your personal code of ethics to your life.

In: Operations Management

We are in casino playing roulette, American version. We decided to play only red/black, i.e. to...

We are in casino playing roulette, American version. We decided to play only red/black, i.e. to bet on red only.

We will use the Martingale strategy. A game starts with the first bet of 1 chip. If you win the game is over. You won a game. If you loose, you double your bet. You proceed to double your bet till you finally win or if you loose 6 in a row. Either way that concludes one game. You start a new game by betting 1 chip again.

Fill up the following table

Game ended as we

Bet

(no. of chips)

Casino pays

Profit

Probability of this happening

Won in the 1st round

Won in the 2nd round

Won in the 3rd round

Won in the 4th round

Won in the 5th round

Won in the 6th round

Lost 6 in a row

From the table compute the probability of winning in a game. A game has two outcomes therefore it is a

______________________ experiment.

We made a PDF table for the game. Include the gain function.

Sample Space

Win

Loose

PDF

Gain

Now we decide to play the game 12 times. Fill the table below.

Number of games won

(out of 12)

Probability

Gain

0

1

2

3

4

5

6

7

8

9

10

11

12

For this table we used __________________ distribution

What is the probability of winning(making a profit) after 12 games?

What is the expectation of the gain after 12 games?

Should we Gamble?

Yes or No

In: Statistics and Probability

Write R commands for below queries, assume the data is in file named input.csv. Also explain...

  1. Write R commands for below queries, assume the data is in file named input.csv.

Also explain your answer

id

name

salary

start_date

dept

1

Rick

623.3

1/01/2012

IT

2

Dan

515.2

23/09/2013

Operations

3

Michelle

611

15/11/2014

IT

4

Ryan

729

11/05/2014

HR

5

Gary

843.25

27/03/2015

Finance

6

Nina

578

21/05/2013

IT

7

Simon

632.8

30/07/2013

Operations

8

Guru

722.5

17/06/2014

Finance

  1. Open the file and Get the max salary from data frame
  2. Get the detail of person having max salary
  3. Get all the people working in IT department   
  4. Get the persons in IT department whose salary is greater than 600           
  1. Write down the output of the following R commands. If not data is provided you can use any example data. Explain what does the command do?
  1. category <- 'A'   

price <- 10

if (category =='A'){

    cat('A vat rate of 8% is applied.','The total price is',price *1.08)

} else{

      cat('A vat rate of 10% is applied.','The total price is',price *1.10)

}

  1. a = c(5,7,2,9)   

ifelse(a %% 2 == 0,"even","odd")

In: Computer Science

In the following problem, check that it is appropriate to use the normal approximation to the...

In the following problem, check that it is appropriate to use the normal approximation to the binomial. Then use the normal distribution to estimate the requested probabilities.

Do you take the free samples offered in supermarkets? About 56% of all customers will take free samples. Furthermore, of those who take the free samples, about 42% will buy what they have sampled. Suppose you set up a counter in a supermarket offering free samples of a new product. The day you were offering free samples, 323 customers passed by your counter. (Round your answers to four decimal places.)

(a) What is the probability that more than 180 will take your free sample?


(b) What is the probability that fewer than 200 will take your free sample?


(c) What is the probability that a customer will take a free sample and buy the product? Hint: Use the multiplication rule for dependent events. Notice that we are given the conditional probability P(buy|sample) = 0.42, while P(sample) = 0.56.


(d) What is the probability that between 60 and 80 customers will take the free sample and buy the product? Hint: Use the probability of success calculated in part (c).

In: Statistics and Probability

In the following problem, check that it is appropriate to use the normal approximation to the...

In the following problem, check that it is appropriate to use the normal approximation to the binomial. Then use the normal distribution to estimate the requested probabilities.

Do you take the free samples offered in supermarkets? About 62% of all customers will take free samples. Furthermore, of those who take the free samples, about 37% will buy what they have sampled. Suppose you set up a counter in a supermarket offering free samples of a new product. The day you were offering free samples, 317 customers passed by your counter. (Round your answers to four decimal places.)

(a) What is the probability that more than 180 will take your free sample?


(b) What is the probability that fewer than 200 will take your free sample?


(c) What is the probability that a customer will take a free sample and buy the product? Hint: Use the multiplication rule for dependent events. Notice that we are given the conditional probability P(buy|sample) = 0.37, while P(sample) = 0.62.


(d) What is the probability that between 60 and 80 customers will take the free sample and buy the product? Hint: Use the probability of success calculated in part (c).

In: Statistics and Probability

In the following problem, check that it is appropriate to use the normal approximation to the...

In the following problem, check that it is appropriate to use the normal approximation to the binomial. Then use the normal distribution to estimate the requested probabilities.

Do you take the free samples offered in supermarkets? About 56% of all customers will take free samples. Furthermore, of those who take the free samples, about 37% will buy what they have sampled. Suppose you set up a counter in a supermarket offering free samples of a new product. The day you were offering free samples, 329 customers passed by your counter. (Round your answers to four decimal places.)

(a) What is the probability that more than 180 will take your free sample?

(b) What is the probability that fewer than 200 will take your free sample?

(c) What is the probability that a customer will take a free sample and buy the product? Hint: Use the multiplication rule for dependent events. Notice that we are given the conditional probability P(buy|sample) = 0.37, while P(sample) = 0.56.

d) What is the probability that between 60 and 80 customers will take the free sample and buy the product? Hint: Use the probability of success calculated in part (c).

In: Statistics and Probability