# Sim

Followers: 0 Following: 0

**Statistics**

RANK**1,576**

of 293,920

REPUTATION**41**

CONTRIBUTIONS

**236** Questions

**43** Answers

ANSWER ACCEPTANCE **
86.02%
**

VOTES RECEIVED**24**

RANK**19,322** of 20,060

REPUTATION**0**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**3**

RANK

of 150,100

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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...

7 days ago | 2 answers | 0

### 2

answersQuestion

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...

11 days ago | 1 answer | 0

### 1

answerQuestion

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: ...

11 days ago | 3 answers | 0

### 3

answersQuestion

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)...

11 days ago | 2 answers | 0

### 2

answersQuestion

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...

14 days ago | 1 answer | 0

### 1

answerQuestion

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...

17 days ago | 0 answers | 0

### 0

answersCrosstab 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...

19 days ago | 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...

21 days ago | 1 answer | 0

### 1

answerQuestion

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...

27 days ago | 1 answer | 0

### 1

answerHow 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...

28 days ago | 0

| accepted

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...

28 days ago | 1 answer | 0

### 1

answerQuestion

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...

29 days ago | 2 answers | 0

### 2

answersUsing 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...

1 month ago | 0

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]} {[...

1 month ago | 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...

1 month ago | 2 answers | 0

### 2

answersQuestion

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...

1 month ago | 1 answer | 0

### 1

answerQuestion

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...

1 month ago | 2 answers | 0

### 2

answersQuestion

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?...

1 month ago | 1 answer | 0

### 1

answerQuestion

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...

1 month ago | 1 answer | 0

### 1

answerQuestion

Bayes Factor functions/packages

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

1 month ago | 0 answers | 0

### 0

answersIs 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...

2 months ago | 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...

2 months ago | 1 answer | 0

### 1

answerQuestion

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...

2 months ago | 1 answer | 0

### 1

answerQuestion

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 months ago | 1 answer | 0

### 1

answerQuestion

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 months ago | 1 answer | 0

### 1

answerA 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 months ago | 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 months ago | 2 answers | 0

### 2

answersHow 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 months ago | 1

| accepted

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 months ago | 1 answer | 0

### 1

answerQuestion

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 months ago | 1 answer | 0