Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the Multilevel Modelling chapter, we analyzed the monetary decision for gym12. Let's now look at the implications of making yoga stretching mandatory for all

In the Multilevel Modelling chapter, we analyzed the monetary decision for gym12. Let's now look at the implications of making yoga stretching mandatory for all new gyms. To do this, you would look at posterior estimates for mu_alpha, mu_beta, sd_alpha, sd_beta - i.e. the parent nodes of the j and j nodes. This is a really a cool type of modelling as we not only have estimates at the gym level, but also estimates at this higher level of the entire Crossfit Gyms enterprise. Think of the higher level estimates as spawning gyms with the j and j drawn as random values from these four parent nodes. Assuming it costs $10 extra for each trial customer to offer yoga stretching and that the value of a customer is $500, what is the probability that this mandatory yoga stretching policy is value creating for the Crossfit Gyms corporation?Enter your probability as a decimal rounded to the nearest hundreths place (e.g. 0.12,0.52,0.99).

HINT:you want to simulate a success probability for a new gym.You should extract the four columns relevant for simulating a new gym:drawsDF %>% select(mu_alpha,mu_beta,sd_alpha,sd_beta) and then follow the generative DAG recipe to get a posterior distribution for the outcomes of interest.Don't get distracted by all the other columns and data frames.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning & Intermediate Algebra (Subscription)

Authors: Elayn Martin Gay

6th Edition

0134305124, 9780134305127

More Books

Students also viewed these Mathematics questions