Write down an expression for P(x1)

Assignment Help Advanced Statistics
Reference no: EM133040303

Question: Generate data from a graph with 4 nodes X = {x1, x2, x3, x4}. If the joint distribution P(X) can be written as a product of conditionally independent distributions

             4
P(X|G) = Π  P(xk|PA(xk), G)
             k=1

then the graph is said to be a directed acyclic graph. Here the notation PA(xk), G means the set of nodes which are parents of xk, given graph G.

Assume further that this conditionally independent distribution P(xk|PA(xk), G) is gaussian and define the set Ik = {j; xj≠k ∈ PA(xk)} to be the set of indices which denote if a RV xj≠k is a parent of xk.

We assume that P(xk|PA(xk), G)~N(αk+βkIk XIk, σk2)

We wish to compute the marginal likelihood

             4
P(X|G) = ∏ P(xk|xIk, G)
             k=1

P(xk|xIk, G) = P(xk|PA(xk), G) = ∫ P(xk|PA(xk), G, Θk) P(Θ|G) dΘk

where Θk = {αk, βklk , σk2} and βkIk is coefficient of the impact of parent node (Ik) on node k.

Task 01: Consider the following priors
Let βk = (αk, βk)

βk ∗|PA(xk)~N [0, gσk2(Xik*T X1k*)-1

XIk = [1, Xk] and σk2~IG(a, b)

Write down an expression for

P(xk|PA(xk)) = ∫∫ P (xk|PA(xk), βk∗, σk2) P(βk∗|σk2)P(σk2) dβk∗dσk2

And hence compute

             4

P(X|G) = Π P(xk|PA(xk))
             k=1

Task 02: The joint distribution always equal to

P(X) = P(x1) P(x2|x1) P(x3|x2, x1)P(x4|x1, x2, x3)

Or any other ordering of nodes.

Write down an expression for P(x1) P(x2|x1) P(x3|x2, x1)P(x4|x1, x2, x3) if

βj<k,k*|σk2, Xj<k ~N [0, gσk 2(Xj<k∗T Xj<k*)-1]

Write down an expression for P(X|G). Note it will be very similar to the task 01 only X's will change.

Task 03: Generate data from the models in task 01 and task 02. For each model compute

I. P(X|G1) = P(x1) P(x2|x1) P(x3|x1)P(x4|x2, x3)
II. P(X|G2) = P(x1) P(x2|x1) P(x3|x2, x1)P(x4|x1, x2, x3)

Reference no: EM133040303

Questions Cloud

Internet-based project management : Even before he walks around the job site to talk to the foremen and supervisors, Alexander Kennedy, president of Cederfield Builders in Ghana, can smell ineffic
Major factors that affect our trust levels : Q1: What are the three major factors that affect our trust levels. Describe each of these factors in some detail.
Calculate the direct material price variance : Standard price of one box of materials is $15; The actual price for materials was $12 each box. Calculate the direct material price variance
Leadership and peers to accomplish organizational goals : As a Contract Specialist, describe real-life examples to be inputted under "Standards" in an employee performance review for the following performance element -
Write down an expression for P(x1) : Write down an expression for P(x1) and P(X|G). Generate data from the models in task 01 and task 02. For each model compute
Employee performance review for performance element : As a Contract Specialist, describe real-life examples to be inputted under "Standards" in an employee performance review for the following performance element -
Performance element-technical competence : As a Contract Specialist, describe real-life examples to be inputted under "Standards" in an employee performance review for the following performance element -
Prepare the income statement for the year ended december : Use the information in the trial balance to prepare the income statement for the year ended December 31, 2020
Digital world of banking : -After the events of January 6, 2021, Twitter and Facebook banned the former president out of fear that his rhetoric would inspire further violence.

Reviews

Write a Review

Advanced Statistics Questions & Answers

  Relationship between speed, flow and geometry

Write a project proposal on relationship between speed, flow and geometry on single carriageway roads.

  Logistic regression model

Compute the log-odds ratio for each group in Logistic regression model.

  Logistic regression

Foundations of Logistic Regression

  Probability and statistics

The tubes produced by a machine are defective. If six tubes are inspected at random , determine the probability that.

  Solve the linear model

o This is a linear model. If your model needs a different engine, then you need to rethink your approach to the model. Remember, there are no IF, Max, or MIN statements in linear models.

  Plan the analysis

Plan the analysis

  Quantitative analysis

State the hypotheses that you are going to test.

  Modelise as a markov chain

modelise as a markov chain

  Correlation and regression

What are the degrees of freedom for regression

  Construct a frequency distribution for payment method

Construct a frequency distribution for Payment method

  Perform simple linear regression

Perform simple linear regression

  Quality control analysis

Determining the root causes

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd