how can compute a marginal distribution?

ihave a matrix with 60 rows and 5 coloumns an iwant tocompute the marginal distribution

10 Comments

And the matrix is the joint probability matrix A with sum(sum(A)) = 1 ?
Then you will have to explain in more detail what your matrix represents.
@Torsten 60 rows and 5 columns for some properties
Torsten
Torsten on 19 May 2022
Edited: Torsten on 19 May 2022
The three additional words don't help for a better understanding.
three properties i need to estimate the probability of the marginal distribution
Seriously:
If someone told you he/she has a matrix with 60 rows and 5 columns for three properties and he/she wants to estimate the probabilty of the marginal distribution, would you be able to understand what he/she means ? How the matrix is related to the three properties ? What the entries of the matrix are ? What the rows and columns of the matrix represent ?
the rows represents the timesamples while the columns represns the well log data extracted from 5 positions so i want to obtain marginal prior distribution according to gaussian assumptions.
Would histogram along each property and at each altitude be what you're looking for? Your question is not clear enough for me to fully understand either.
yes exactly this is what iam looking for

Sign in to comment.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 19 May 2022
Edited: Bjorn Gustavsson on 19 May 2022
Look at the help and documentation for the histogram-function. Possibly also check the histogram2.
HTH

Tags

Asked:

on 18 May 2022

Edited:

on 19 May 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!