# Sim

Last seen: 3 jours il y a Actif depuis 2019

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Question

Is there a function to create the P-P plot in Matlab, to compare two cumulative distribution functions against each other?
Is there a function to create the P-P plot in Matlab, to compare two cumulative distribution functions against each other? Fr...

6 jours il y a | 2 réponses | 0

### 2

réponses

Question

Add a label to a minor tick, in an inset plot
How to add a label of one minor tick (in the x-axis) of an inset plot? % create a plot x1 = linspace(0,1000); y1 = sin(2*pi*x...

9 jours il y a | 1 réponse | 0

### 1

réponse

Question

How to get the values of the XAxis Minor Ticks (of an inset plot)
I have an inset plot, in a log-scale, and I would like to get the values of its XAxis Minor Ticks, with the following command: ...

9 jours il y a | 3 réponses | 0

### 3

réponses

Question

How can I draw a frame around the inset plot?
How can I draw a frame around the inset plot? x1 = linspace(0,1); x2 = linspace(3/4,1); y1 = sin(2*pi*x1); y2 = sin(2*pi*x2)...

10 jours il y a | 2 réponses | 0

### 2

réponses

Question

A simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xticklabels
What is a simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xtickla...

12 jours il y a | 1 réponse | 0

### 1

réponse

Question

Is it expected to (always?) obtain identical p-values from the the Wilcoxon rank sum test and from the Kruskal-Wallis test ?
In the examples here below I compare two datasets, "r1" and "r2", by using both the Wilcoxon rank sum test and the Kruskal-Walli...

16 jours il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
Crosstab by using the same input for both arguments
I feel the right way should be to have the equivalent of the following R function (and maybe someone @MathWorks Support Team cou...

17 jours il y a | 0

Question

Automatically select the right number of bins (or combine the bins) for the expected frequencies in crosstab, in order to guarantee at least 5 elements per bin
I have two observed datasets, "x" and "y", representing "future stock prices", and I want to compare the observed frequencies in...

20 jours il y a | 1 réponse | 0

### 1

réponse

Question

Draw a line between a point, which has non-normalised coordinates, and a legend, which has a normalised position
I want to draw a line between a point (which has non-normalised coordinates) and a legend (which has a normalised position). xp...

26 jours il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
How can I create an offset of a boundary?
Maybe I found it.... :-) External offset rng('default') x = rand(30,1); y = rand(30,1); k = boundary(x,y); polyout1 = poly...

26 jours il y a | 0

| A accepté

Question

How can I create an offset of a boundary?
How can I create an offset of a boundary? rng('default') x = rand(30,1); y = rand(30,1); plot(x,y,'.') xlim([-0.2 1.2]) yl...

26 jours il y a | 1 réponse | 0

### 1

réponse

Question

Crosstab by using the same input for both arguments
If I run one of the examples of crosstab, I get the same result as indicated in the crosstab webpage: rng default; % for repro...

28 jours il y a | 2 réponses | 0

### 2

réponses

Réponse apportée
Using chi2gof to test two distributions
Shouldn't you use the two-sample chi-square test? The CHI2TEST2 Version 1.0.0.0 (2.44 KB) function by James Meldrum performs th...

29 jours il y a | 0

Réponse apportée
An efficient way to round decimal numbers up to the n-decimal in a cell array
maybe I found it... (?) a = [ {[ 0.235089379668094 0]} {[0.0793405810870535 0]} {[ 0.142843392632868 0]} {[...

environ un mois il y a | 0

Question

An efficient way to round decimal numbers up to the n-decimal in a cell array
eIs there an efficient way to round decimal numbers up to the n-decimal in a cell array? In the following example, I would lik...

environ un mois il y a | 2 réponses | 0

### 2

réponses

Question

Import numpy and scipy (maybe through Anaconda) in Matlab
(1) Introduction. This is a follow up question of Call a Python function inside a MATLAB loop. I am trying to run the followin...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Call a Python function inside a MATLAB loop
In a Matlab script, is there a way to call a Python function, in loop for, in such a way that at every iteration the inputs of t...

environ un mois il y a | 2 réponses | 0

### 2

réponses

Question

Two-sample Anderson-Darling tests
Is there a function in Matlab which can perform a 2-sample Anderson-Darling test, as described/shown on Cross Validated or on R?...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Effect size, statistical power of the test, and confidence interval (of hypothesis testing)
I am using the following two-sample tests for non-normal distributions: chi2gof kstest2 ranksum kruskalwallis All of them r...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Bayes Factor functions/packages
I am using the following two-sample tests for non-normal distributions: chi2gof kstest2 ranksum kruskalwallis and I would l...

environ un mois il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
Is ttest2 with the 'Vartype' set as 'unequal' essentially the same as a Welch's t-test?
First Comment. As @DJB wrote in his/her comment, we can go to the "More About" Section of Two-sample t-test, and read the follow...

environ un mois il y a | 0

Question

Reduce the inputs for the chi2gof function (follow-up question of: Using chi2gof to test two distributions)
This is a follow-up question of Using chi2gof to test two distributions. @Allie had the following inputs, i.e. the binned obser...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms?
What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms? Example 1. If th...

environ 2 mois il y a | 1 réponse | 0

### 0

réponse

Question

legend symbol disappears when plotting a polyshape
If there is not any output from the legend, the symbol of the polyshape is visible: p=plot(polyshape([0 0 1 1],[1 0 0 1])); le...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

Change coordinate system, from EPSG 3003 to EPSG 32632 (i.e. WGS 84 / UTM zone 32N)
I have the following point with x-y-coordinates in the EPSG 3003 coordinate system: a = [1.7202e+06 4.8998e+06] How can change...

3 mois il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
A border/perimeter/rectangle around the inset plot, in a subplot environment
Got it, with the Control Axes Layout options! fig = figure; for i = 1 : 6 subplot(3,2,i) scatter(rand(1,10),rand(1,1...

3 mois il y a | 1

Question

A border/perimeter/rectangle around the inset plot, in a subplot environment
In the following subplot environment, how can I draw a red border/perimeter/rectangle around/wrapping the inset plot? fig = fig...

3 mois il y a | 2 réponses | 0

### 2

réponses

Réponse apportée
How can I bring the xticklabels closer to the x-axis/xticks?
Sorry, siilly question... I got it: plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... 'LineWidth',1,'TickDi...

3 mois il y a | 1

| A accepté

Question

How can I bring the xticklabels closer to the x-axis/xticks?
How can I bring the xticklabels closer to the x-axis/xticks? plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... ...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

The farthest yticklabels do not appear when using ax.YAxisLocation = 'origin'
The two farthest ytickslabels (in this case both -1 and +1), do not show up if I use ax.YAxisLocation = 'origin' x=-1:0.1:1; p...

3 mois il y a | 1 réponse | 0

réponse