# All Questions

40 questions
Filter by
Sorted by
Tagged with
44 views

...
63 views

### Confusion about Predict Model NameAge

Predict["NameAge", "Claire"] 8 distribution = Predict["NameAge", "Claire", "Distribution"] dataRaw = distribution[[2]] <...
99 views

### How can I make a frequency plot of successful trials? [closed]

I have got different files with the result of an experiment varying 2 variables. The files are in this link. Each file has 3 columns of data: the first column is the same for all the rows of the file ...
102 views

### Finding the optimal probabilty distribution

I am trying to obtain the optimal probability distribution function to the following data. My attempt: ...
67 views

### Partitioning Mixture Distribution Dataset into constituent Distributions

Suppose I have a dataset that is derived from a random sampling from a mixture distribution ...
214 views

### Construct Distribution Histogram From Random Variable

Given a Beta Random Variable $X$ with parameters $\alpha, \beta$ and a positive constant $n$, suppose I am interested in the distribution of: $$Y:=\lfloor nX\rfloor$$ Suppose I want a histogram ...
72 views

### Getting PDF from imported Histogram

So I'd like to create a probability density function from an existing histogram from a program that I use. My input data is of the form ...
135 views

### Histograms and probability distributions

Consider $50$ random variables with probability distribution: $X∼Bin(20,.1)$, where $n=20$ and $p=.1$. Now take a random sample of size $i; \ i=1,5,12,30,40$ from the 50 random variables and plot ...
82 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: ...
49 views

### Sum of PDF HistogramList bar heights is 1/2, 1, 2, 3, etc… depending on distribution?

I've noticed that my normalized histograms are not always normalized to 1. For example: ...
252 views

### Generating fake raw data from a given distribution

Most recipes on statistical data processing in Mathematica, such as building histograms, deriving smoothed PDF and CDF distributions, etc., work with given raw data sets. For example, series of ...
885 views

### Histogram “PDF” vs “Probability”

I have a discrete random variable with values from $0$ to $100$. I have plotted its histogram with bars centered in $0, 5, 10,\dots,100$. First I made the histogram using the ...
292 views

### data fitting and p value compute

I have a list of data: data I want to find the best fit distribution curve and then fit curve. After finding the fitting distribution, I want to compute the Pearson chi-square to test the fitting ...
133 views

### Histogram not plotting RandomVariate of EmpiricalDistribution

Bug introduced in 11.1 or earlier and fixed in 11.2 I have a seemingly odd case in 11.1 where a sample from an EmpiricalDistribution is not being plotted by ...
96 views

### Graph a ParameterMixtureDistribution

I am trying to graph the following 'ParameterMixtureDistribution'. ...
120 views

### Problem (or maybe bug) with the SmoothHistogram3D command?

I have a data set in form of {x,y} (I add part of my data set), and I need to calculate the 3D histogram for it, also I need to get -LOG from probability (Z axes). I wrote this code for it. ...
142 views

### I want to plot 3Dhistogram from my data?

I have the data file like this: {{16.3009, 5454}, {16.2118, 5463}, {15.8156, 5414}, {15.9585, 5515}, {16.2253, 5459}, {16.284, 5419}, {15.6112, 5389}, {15.7221, 5403}, {15.509, 5445}, {15.6993, ...
358 views

### How to get data from Histogram (HistogramList) for making plot?

I have a data I need to calculate the probability of the second column of my data in different bins and then getting(-LOG) from this probability and plot with the each bin related to it. my data is ...
151 views

### Distribution of max of partial sums of normal distributions

I was surprised not to find this question already answered: if I take the maximum of the partial sums of n normal distributions, what is the resulting ...
392 views

### Plot Histogram and CDF on the Same Chart

I have this data and plotted the histogram and CDF: ...
207 views

### Random Variate generating strange results when using ProbabilityDistribution

Bug introduced in 10.1 and fixed in 10.3 I have created a probability distribution that follows a general normal distribution, given by:  \frac{b *e^{-\left(\frac{\sqrt{(x-u )^2}}{a }\right)^{b }}}...
278 views

### Plotting probabilistic histogram on a specific range on log scale

I'm having a problem getting a combined effect - I have a list of values for which I'd like to plot a histogram. As a minimal example: ...
848 views

### Scale SmoothHistogram curve to Histogram

Like in this question, I would like to display a histogram and a smooth histogram in the same plot. I believe the default “bin height specification” (or $\textit{hspec}$) for ...
61 views

### Histogram and Random Lists [closed]

Suppose I have the following list listrand of random numbers from RandomReal[-30,30] (where the size of the list is 40). Is ...
369 views

### How to make a cumulative time plot?

So I'm working with this data set where there is just one input(a date and time) per line in a .csv file. I've let Mathematica understand the input using "DateStringFormat". The time looks like Year-...
715 views

### Plot contours for 3d histograms

I have a data set which is a list of pairs. From this I can easily make a 3d histogram with Histogram3D[data] or a smoothed ...
558 views

### Creating histograms with specified mean and intervals

I have a set of data that I want to create a histogram for. The thing is, I would like to set the center of the histogram to the mean of the dataset and the intervals to be the standard deviation. How ...
229 views

### Comparing heavy tailed and non-heavy tailed distribution using Mathematica

I have data from a heavy tailed distribution (see picture 1) and a non-heavy tailed distribution (see picture 2) and want to compare it using a histogram on log-scale. However the picture 3 does not ...
2k views

### How to extract the probability density function from SmoothHistogram? [duplicate]

I have some data.I plot the histogram with SmoothHistogram in Mathematica. If the y-axis of the histogram is my p(x) function, I want to plot f(x)=(1/n)ln(p(x)) ...
1k views

### How can we create a histogram distribution from binning data?

HistogramDistribution takes a list of data points, creates a histogram from them, and returns this histogram in a form that can be used as a distribution. I ...
226 views

### How to normalise a line in mathematica

I'm working on creating a line plot from a histogram, as in the following: ...
291 views

### Analyzing Betting (Keno) in Mathematica [closed]

Keno is a popular lottery game that is available with all of the larger casino softwares. The player is given a ticket with 70 numbers on it. He picks 1 to 11 numbers on the ticket. 20 winning numbers ...
440 views

### Making a histogram of a user defined random variable

Suppose I want to generate a histogram of $n$ trials a slightly complicated random variable in Mathematica. Is there an easy way to do this? For instance, to make a histogram of a normal variable one ...
306 views

### Understanding distribution chart

How to explain DistributionChart function in mathematica, For example: if I have ...
2k views

### Log-log scale smooth histogram

How can I create a smooth histogram with a log-log scale? I can use Histogram[data, "Log", "LogCount"] to get a log-log histogram, or I can use ...
1k views

### Probability density histogram with unequal bin widths

I am confused by output of Histogram and HistogramList for probability density ("PDF") when ...
205 views

### How to obtain an approximate function for SmoothHistogram3D?

I have a random distribution of points in the $x\!-\!y$ plane. I can obtain a graphical representation of the probability distribution function using ...
8k views

### How do I display a histogram with normalized counts?

I have some data corresponding to real number distances: {200.04053, 200.232123, 156.3242,...}, and I would like to bin these values and display them as a histogram ...
656 views

### Representative Smooth Kernel Distribution from Truncated Distribution

I am trying to produce a better distribution from a dataset that is bounded to be greater than 0. Here is an example distribution from the documentation that mimics the behavior of the actual dataset: ...
2k views

### How can I tell mathematica to generate an histogram from nominal data?

If I write: Histogram[{1, 1, 1, 2, 2, 2}] I get a nice histogram chart but if I write ...