marginal distributionjob function什么意思是什么意思

Distribution Functions
Comparison of Distribution Functions
DistributionFunctional FormMeanStandard Deviation
&**********R Nave
Binomial Distribution Function
DistributionFunctional FormMeanStandard Deviation
The binomial distribution function specifies the number of times (x) that an event occurs in n independent trials where p is the probability of the event occurring in a single trial. It is an exact probability distribution for any number of discrete trials. If n is very large, it may be treated as a continuous function. This yields the . If the probability p is so small that the function has significant value only for very small x, then the function can be approximated by the .
If the probability of an event is p =
and there are n =
events, then the probability of that event being observed
x 10^. For these conditions, the mean number of events is and the standard deviation is .
Note! This calculation must evaluate the factorials of very large numbers if the number of events is large. A sum of logarithms was used to evaluate the factorials, and use was made of the fact that there is a quotient of factorials which can be reduced. Still, the factorials can get too large. Use of the
may be necessary for large values of n.
With the parameters as defined above, the conditions for validity of the binomial distribution are
each trial can result in one of two possible outcomes, which could be characterized as "success" or "failure".
the probability of "success", p, is constant from trial to trial.
the trials are independent.
&**********R Nave
Comments About the Binomial Distribution Function
When you examine the form of the :
it is a rather formidable collection of symbols and factorials. These terms arise from an examination of the probability of discrete events. Perhaps the following summary will be helpful:
&**********R Nave第四章 随机向量及其分布(1,2)_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
第四章 随机向量及其分布(1,2)
上传于||暂无简介
大小:1.19MB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢This activity represents a . It is implemented in HTML5/JavaScript and should be portable on any computer, operating system and web-browser.
The aims of this activity are to:
Provide a visualization tool for better understanding of the bivariate normal distribution.
Clarify the definitions and interplay between marginal, conditional and joint probability distributions (in the bivariate Normal case).
Learn how to calculate Normal marginal, conditional and joint probabilities.
Show how correlation influences the distribution of two normally-distributed variables. Demonstrate that when X and Y have joint bivariate normal distribution with zero correlation, then X and Y must be independent.
Build a framework for generalizing the univariate normal distribution to higher dimensions.
In general, when X and Y are jointly continuous random variables with a joint density \(?_{X,Y}(x,y)\), if A and B (non-trivial) are subsets of the ranges of X and Y (e.g., intervals), then:
\( P(X \in A \mid Y \in B) = \frac{\int_{y\in B}\int_{x\in A} f_{X,Y}(x,y)\,dx\,dy}{\int_{y\in B}\int_{x\in\Omega} f_{X,Y}(x,y)\,dx\,dy}. \)
In the special case where B={y0}, representing a single point, the conditional probability is:
\( P(X \in A \mid Y = y_0) = \frac{\int_{x\in A} f_{X,Y}(x,y_0)\,dx}{\int_{x\in\Omega} f_{X,Y}(x,y_0)\,dx}\). If the set (range) A is trivial, then the conditional probability is zero.
Suppose that X has normal distribution, the conditional mean of X given \(Y=y_o\), \(E(X|Y=y_o)\), is linear in Y, and the conditional variance of X given \(y_o\), \(Var(X|y_0)\), is constant.
Then, the conditional probability distribution of X given Y = \(y_0\), \(f_{X|Y=y_o}\), is given by:
\( f_{X|y_o} \sim N \left ( \mu_{X|y_o} = \mu_X +\rho \frac{\sigma_X}{\sigma_Y}(y_o-\mu_Y),
\sigma_{X|y_o}^2 =
\sigma_X^2(1-\rho^2) \right)
\( X \sim N (\mu_X, \sigma_X^2) \),
\( E(Y)=\mu_Y\), and \(VAR(Y)=E(Y^2)-\mu_Y^2 = \sigma_Y^2 \), but this does not necessarily require that Y is normally distributed itself!
\( \rho = Corr(X,Y)\) is the .
that the conditional mean of X given \(y_o\) is linear in y and the conditional variance of X given \(y_o\) is constant.
The above does not make assumption about the distribution of Y. Now assume Y is also normally distributed with \( Y \sim N (\mu_Y, \sigma_Y^2) \). We have 3 important observations:
1. The density of Y is:
\( f_Y = \frac{1}{\sigma_Y \sqrt{2\pi}} e^{-\frac{(y-\mu_y)^2}{2\sigma_Y^2}} \),
2. The conditional distribution of \(X\) given \(Y = y_o\) is:
\( g_{X|Y}(x|y) = \frac{1}{\sigma_{X|Y} \sqrt{2\pi}} e^{-\frac{(x-\mu_{X|Y})^2}{2\sigma_{X|Y}^2}} \),
\( = \frac{1}{\sigma_X\sqrt{1-\rho^2} \sqrt{2\pi}} e^{-\frac{(x-\mu_X-\rho\frac{\sigma_X}{\sigma_Y}(Y-\mu_Y))^2}{2\sigma_X^2(1-\rho^2)}} \)
3. The joint probability density function of \(X\) and \(Y\) is:
\( f_{X,Y}(x,y) = g_{X|Y}(x|y)f_Y(y) = \frac{1}{\sigma_X\sigma_Y 2\pi\sqrt{1-\rho^2}} e^{-q(x,y)} \), where
\( q(x,y) =
\frac{1}{2} \frac{1}{1-\rho^2} \left ( \left (
\frac{x-\mu_X}{\sigma_X}
\right )^2 -2\rho\frac{x-\mu_X}{\sigma_X}\frac{y-\mu_Y}{\sigma_Y} +\left (
\frac{y-\mu_Y}{\sigma_Y}
\right )^2 \right ) \).
A modern web-browser with HTML and JavaScript support is required (mobile devices should be fine). The
support, however this is not absolutely necessary. If you toggle off the "Use WebGL" check-box in the Settings panel you can view the 3D grid/mesh representation of the 2D Normal/Gaussian distribution without WebGL.
Go to the .
Use the Settings to initialize the web-app.
In the Control panel:
Select the appropriate bivariate limits for the X and Y variables.
Choose desired Marginal or Conditional probability function.
1D Normal Distribution graph will be shown to the right.
You can rotate and manipulate the bivariate normal distribution in 3D by clicking and dragging on the graph below.
Probability Results are reported in the bottom text area.
In this interactive activity, we will use .
to estimate the mean and standard deviation (SD) of the Height and Weight variables. Also, investigate the distribution of the two variables. By looking at the distributions of the two variables, we can conclude that Height and Weight roughly follow a normal distribution.
For Height variable, the distribution is roughly normal.
The estimate of the mean of height is 67.95, and the estimate of the standard deviation for height is 1.94.
For Weight variable, the distribution is slightly skewed, but still resembles normal.
The estimate of the mean of weight is 127.22, and the estimate of the standard deviation for weight is 11.96.
To estimate the correlation between height and weight we use the , see the corresponding . Map height as the dependent variable and weight as the independent variable. Click “Calculate” to obtain the summary statistics. The correlation between Height and Weight is 0.557.
Now, plug these 5 estimated quantities into the . Look at the marginal distribution of height and weight. How do they compare to their histograms from the SOCR Modeler?
When looking at marginal distributions, we disregard the variables we do not care about. For the bivariate normal case, the marginal distribution of a single variable is the distribution of the variable itself.
Marginal of Weight: The histogram for weight spanned an interval of 92 to 165 pounds. The marginal distribution of weight spans an interval of 79 to 175 pounds. This interval is larger because the distribution of weight is not perfectly normal. Still, it does a good job of capturing the overall shape of weight.
Marginal of Height: In the histogram of height, the data spanned an interval of 62 to 75 inches. The marginal distribution of height from the BVN applet spans an interval of 60 to 75 inches. This is largely because Height is normally distributed and can be approximated by a normal distribution.
What is the probability of a randomly selected adolescent being between 65 and 70 inches tall and weighing between 120 and 140 pounds? To answer this question, change the Bivariate Normal limits to 120 & X & 140 and 65 & Y & 70. Here is the distribution of the probability set:
Look at the Probability Results. The probability of a randomly selected adolescent being between 65 and 70 inches tall and weighing between 120 and 140 pounds is 0.4894.
Disregarding weight, what is the probability that a randomly selected adolescent will be between 65 and 70 inches? Look at the marginal distribution of height. The probability that an adolescent will be between 65 and 70 inches is 0.799.
Given an adolescent is of average height, what is the probability the adolescent weighs between 120 and 140 pounds? This question requires the conditional distribution of weight. First, we need to change the Bivariate Limits so height only includes the average height: 67.95.
Given an adolescent is of average height, the probability that the adolescent weighs between 120 and 140 pounds is 0.669.
Motivation: Human heights and weights are correlated, how do the marginal parameters for each of the height and weight distributions, and their correlation, affect the joint and conditional probabilities?
to estimate the mean and standard deviation of each of the 2 variables (people's heights and weights).
Use the , and the corresponding , to estimate the correlation (\(\rho=Corr(Height, Weight)\)).
Use these 5 estimated quantities to apply the
to compute various probabilities of interest (phrased in the context of the data itself!):
Marginal (e.g., \(P(Weight&150)\)),
Conditional (e.g., \(P(Weight&150 \vert Height&63)\)),
Joint (e.g., \(P(Height&60 \cap Weight&160)\)).
Motivation: There are intricate associations between different social and economic factors like inflation, interest rate, consumer price index and housing price index. We can explore how marginal parameters for each of the Inflation and HPI distributions, and their correlation, affect their joint and conditional probabilities?
Caution: This example is a little different from the . In general, HPI and inflation may not follow normal distributions and may be skewed. Use the
to plot their distributions. Can the
be used as an approximate model of the bivariate relation/probabilities of inflation and HPI? How about if we apply a ? For example, the figure below shows the result of applying a square-root-transformation to the inflation variable (\(\lambda=0.5\)). The blue distribution of the transformed data is closer to Normal (note the ) compared to the red histogram of the raw inflation values.
to estimate the mean and standard deviation of each of the 2 variables (inflation and HPI).
Use the , and the corresponding , to estimate the correlation (\(\rho=Corr(Inflation,HPI)\)).
Use these 5 estimated quantities to apply the
to compute various probabilities of interest (phrased in the context of the data itself!):
Marginal (e.g., \(P(Inflation&2.0)\)),
Conditional (e.g., \(P(Inflation&5.0 \vert HPI &108)\)),
Joint (e.g., \(P(Inflation&4.0 \cap HPI&110)\)).
See also the
Dinov, ID, Christou, N and Sanchez, J. (2008) , , Volume 16, Number 2.
Translate this page:
Personal tools
This page was last modified on 1 May 2013, at 17:07.
This page has been accessed 8,778 times.}

我要回帖

更多关于 function 什么意思 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信