Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
92 views

How to find a fit for the following data?

Consider the following function: ...
John Taylor's user avatar
  • 5,963
0 votes
1 answer
116 views

How to find Specific Fit of a Distribution?

I want to fit a data set: ...
SAC's user avatar
  • 1,335
1 vote
3 answers
91 views

How to restrict FindDistribution to real-valued distributions

The following seems buggy to me, but perhaps I'm confused about something. Or maybe there's a workaround that makes it moot? First, I ask Mathematica to find a distribution that describes a dataset ...
dreeves's user avatar
  • 696
5 votes
2 answers
735 views

Fit function to histogram

I have a list: histx={-56.6335, -57.2327, -57.8607, -57.9682, -57.0061, -57.1872,-56.9209, -56.1284,...}; I managed to create the histogram that I wanted to: But ...
Paweł Chmolewski's user avatar
2 votes
2 answers
249 views

Can the CopulaDistributions be fitted?

This is an immediate follow-up to DoAny--which I did consider editing, clarifying and correcting in some respects. But perhaps here I can put the immediate question at hand more directly (the emphasis ...
Paul B. Slater's user avatar
1 vote
3 answers
333 views

Do any of the Mathematica CopulaDistributions (or others) fit well this sampled bivariate copula with uniform marginals over [0,1]?

I'm currently developing a data set that consists of two $50 \times 50$ matrices, which I designate as q1 and Q1. I strongly believe (bordering on formal proof [cf. Corollary 1 in marginalinvariance]) ...
Paul B. Slater's user avatar
4 votes
2 answers
499 views

Polynomial fitting to obtain the growth rate

We -- my friend -- had asked a question here, which was not completely related to Mathematica, however, in a hope that someone familiar with the topic could help. There are still some aspects which we ...
user avatar
1 vote
2 answers
301 views

Any suggestions for improving my fitting?

This is not a completely Mathematica question, but I hope people who are familiar both with Mathematica and statistics could help me on this. I have a set of data as ...
An eternal student's user avatar
0 votes
0 answers
78 views

How to find the appropriate fit?

Imagine we are given this set of data: data = {{0, 1}, {1, 0}, {3, 2}, {5, 4}, {6, 4}, {7, 5}}; We fit the data with: ...
user avatar
5 votes
0 answers
403 views

Histogram (automatic binning)

There are different methods for choosing widths of bins for a histogram, like Freedman-Diaconis rule. In Mathematica, without choosing a specific method, with the command ...
user avatar
2 votes
2 answers
246 views

Fitting Method to generate a gaussian distribution

...
Bora's user avatar
  • 155
1 vote
2 answers
247 views

Finding a Distribution

I'm trying to find the optical distribution for the following data https://drive.google.com/file/d/1z_cSu7w8tlz_uEYHr8Y0fFBTwLNo4jtp/view?usp=sharing As there are a lot of points, the only way to ...
sined's user avatar
  • 585
2 votes
2 answers
141 views

Can I impose some a priori constraints on a distribution found by SmoothKernelDistribution?

I use SmoothKernelDistribution (with no options and a single argument — a list of values) to get an approximate reconstruction of a continuous distribution based on ...
Vladimir Reshetnikov's user avatar
2 votes
1 answer
224 views

Does FindDistributionParameters have any inbuilt parameter error estimation available?

FindDistributionParameters is super useful for extracting parameters and using them for other things, like defining random variables. However I can't find any ...
user27119's user avatar
  • 2,530
0 votes
1 answer
205 views

How to fit data with superposition of CDFs?

With the help of @JimB, I could fit some experimental data with a CDF using NonLinearFitModel. The set of data is the following: ...
José Augusto Devienne's user avatar
0 votes
0 answers
90 views

Can Mathematica be used to fit these functions related to the Riemann Xi function $\xi(s)$ to a known probability distribution type?

This question is related to my Math Stack Exchange question at the following link: Question on Probability Distributions Related to the Riemann Xi Function $\xi(s)$ The definitions below are for $x&...
Steven Clark's user avatar
0 votes
2 answers
204 views

Partitioning Mixture Distribution Dataset into constituent Distributions

Suppose I have a dataset that is derived from a random sampling from a mixture distribution ...
tquarton's user avatar
  • 427
0 votes
1 answer
465 views

Fit to Binomial Function

I have the following data, and need to fit a binomial distribution to this data. I have already done so for a gaussian fit (this is the example code I have below), but I am having trouble using a ...
Ike C.'s user avatar
  • 3
1 vote
1 answer
235 views

Using EstimatedDistribution with custom circular ProbabilityDistribution

Basic Idea I'm attempting to estimate the distribution of a set of angle measurements. I have a custom probability distribution that I believe explains the measurements accurately and am attempting ...
nben's user avatar
  • 2,158
0 votes
0 answers
153 views

Mixture distribution fitting containing a uniform distribution

I have a dataset that is clearly the mixture of 3 known distributions which can be generated as follows: ...
tquarton's user avatar
  • 427
1 vote
1 answer
228 views

Mean and Distribution of Data

I am having a difficult time fitting my data to a distribution and finding the mean of the distribution. The data set is large, but here is a small sample ...
Haff's user avatar
  • 180
0 votes
2 answers
132 views

Confusion on using LognormalDistribution in Mathematica

I would like to fit a LogNormalDistribution[μ,σ] based on some data that I have. Roughly speaking, would I need to take the Log ...
Thomas Moore's user avatar
1 vote
1 answer
226 views

Plotting confidence interval from P values (from DistributionFitTest) for 2 parameters

I have a data set I'd like to adjust with 2 parameters, then compare that to another set of data. By using NMaximixe with ...
Matt Stein's user avatar
0 votes
1 answer
129 views

FindMaximum for LogLikelihood fails for multiple parameters

I need to fit a non-analytic data set to another data set using at least 2 parameters: shift and scale. For my 2 data sets (data1 and ...
Matt Stein's user avatar
1 vote
1 answer
109 views

Varying values of parameters and sample size won't work

1.Hello , I have customized a distribution, and then trying to estimate the parameters for smaller values of sample size say n=10,30,40,50 and 60.It runs for n=10 and n=1000 and then it does ...
nutan's user avatar
  • 107
1 vote
1 answer
109 views

Force symbolic usage in PDF or distribution

I want to create a custom distribution based on a SmoothKernelDistribution or KernelMixtureDistribution as so: ...
Matt Stein's user avatar
1 vote
0 answers
70 views

Finding parameters of custom distribution with no analytical function

I need to shift one distribution to another using a simple positional correction parameter. For illustrative purposes, I will create a "double hump" or "twin peaks" distribution here, but my actual ...
Matt Stein's user avatar
1 vote
3 answers
3k views

Fitting of statistical data points by Normal distribution

The data is given below: ...
Rohan's user avatar
  • 13
2 votes
1 answer
209 views

How to exclude MixtureDistribution from FindDistribution

is there a way to exclude MixtureDistribution from the set of fitted distributions when using FindDistribution? I expected ...
dusio's user avatar
  • 123
0 votes
0 answers
467 views

How do I calculate a P-Value from 2 custom data sets?

I have 2 custom data sets: data1 = Import["https://pastebin.com/raw/KHkmEfQB", "List"]; data2 = Import["https://pastebin.com/raw/Hm3mhczi", "List"]; These are ...
Matt Stein's user avatar
2 votes
1 answer
783 views

Fitting data to an empirical distribution, finding best fit

So I have a non-standard (non-normal, non-Gaussian, non-exponential, etc...) distribution, so I created a distribution empirically: ...
Matt Stein's user avatar
1 vote
1 answer
108 views

Create non-standard PDF from data, then doing a likelihood fit

Let's say I have some set of data which is not a "normal" distribution of data, meaning it does not hold a Gaussian, exponential, or other neat formulaic look. Here's an example of data where the PDF ...
Matt Stein's user avatar
2 votes
1 answer
114 views

FindDistributionParameters for a ParameterMixtureDistribution

Let's say I define a simple hierarchical model as follows (I don't actually particularly care about the distributions chosen): ...
Michael Curry's user avatar
1 vote
1 answer
302 views

Find the parameter estimates for a Weibull Distribution

I am a new member of this community and I try to learn Mathematica Software. At moment I try to find the parameter of a Weibull distribution, but I cannot solve the problem. This is the code and the ...
D. Ercole's user avatar
10 votes
2 answers
1k views

Finding a distribution to fit truncated data

I have certain experimental data with the following PDF. As you may note the data does not take values lower than 0. Using FindDistribution I get the following ...
BPinto's user avatar
  • 1,032
1 vote
1 answer
160 views

FindDistributionParameter slow with user defined Distribution

I am trying to define my own probability distributions in order to fit data using Maximum Likelyhood. To test my distributions, I have produce a set of data Normally distributed using ...
Panicotto's user avatar
1 vote
3 answers
2k views

How to fit a Distribution to data that already looks like a distribution?

I have a set of data that is already ordered as a distribution. Here is a picture worth 999 words: I tried FindDistributionParameters, and ...
Edv Beq's user avatar
  • 273
4 votes
1 answer
652 views

package for calculating exponent of power law distribution

There are some packages to fitting power law to empirical date in "R", "matlab", "python" Here with maximum likelihood method As it said here. Does it exist similar package in Mathematica?
jack cilba's user avatar
6 votes
2 answers
934 views

How to measure accuracy of prediction distribution?

I have been trying to come op with a way to test if my dataset follows a Poisson distribution. Normally one would use the DistributionFitTest function, but here is ...
user19218's user avatar
  • 841
3 votes
0 answers
171 views

PearsonChiSquareTest for count/frequency data?

I read with interest a previous question on the PearsonChiSquareTest from a few years ago, and one answer was very helpful: Performing a chi-square goodness of fit ...
Jim's user avatar
  • 43
4 votes
4 answers
679 views

Fitting Coxian distribution to some data

I'm trying to fit a transformed (actually shifted to the right) Coxian distribution to some data ( if needed an example set is here Sim data ). I've tried a number of ways for this: ...
Andrew S.'s user avatar
  • 465
5 votes
2 answers
791 views

Estimate parameters of a derived distribution

I would like to estimate the parameters of a derived distribution fSurvivalGompertzNoiseDist below. This distribution represents simulations from a probability ...
ben18785's user avatar
  • 3,167
1 vote
1 answer
983 views

Fitting data to an Normal Inverse Gaussian distribution

I am using data which I suspect is distributed according to the Normal Inverse Gaussian distribution (NIG). The literature says that the 4 parameters of the NIG distribution can be estimated from the ...
Xavier_B's user avatar
  • 193
1 vote
1 answer
348 views

Boundary parameter in Beta Distribution

I use EasyFit to find the probability distribution of my data. It turns out the data follows BetaDistribution with 0.54022,0.70601 shape parameters and 1.33,6.83 continuous boundary parameters I am ...
Selva Rajan's user avatar
4 votes
1 answer
150 views

Proper command to fit a distribution with data incomplete in a known way

Here is my scenario: got some data that I have to fit to a specific parametric family of probability distributions (cannot be changed). Data consist of several bunches of integers between, say, 0 and ...
მამუკა ჯიბლაძე's user avatar
2 votes
3 answers
556 views

Fit dataset with customized discontinuous distribution

I have the following parametric CDF: F[x_, λ_, β_, γ_] = Piecewise[{ {0, x < 0}, {1 - (1 - β) E^(-x λ), 0 <= x < γ }, {1, x >= γ} }]; ...
Timothy's user avatar
  • 23
4 votes
0 answers
426 views

Goodness of Fit of Copula Distribution

I am trying to find out goodness of fit of copula distribution, but Mathematica 10 gives me the same answer for each copula type. e.g ...
SAAN's user avatar
  • 627
2 votes
4 answers
2k views

Fitting and plotting Weibull distribution

How can I find the best fitted 2-parameter Weibull's distribution (PDF) to describe my data? How can i plot my data and estimated distribution all in one graph? How can I show/compare results of ...
gd1980's user avatar
  • 21
3 votes
1 answer
318 views

P-Values are inconsistent when using DistributionFitTest repeatedly

I am attempting to become more familiar with the DistributionFitTest, specifically the distributions it yields and their fittedness. What I have found is that when I generate random data, fit it, and ...
Marten Thompson's user avatar
4 votes
2 answers
462 views

FindDistributionParameters gives an error for a mixture of user defined sinh-arcsinh distributions

I have some data (1593 values). I first binned it using the Knuth rule and fitted a function that is a linear combination of two sinh-arcsinh functions. I then ...
corey979's user avatar
  • 24.3k