Skip to main content

Questions tagged [matlab]

A programming language/environment. Use this tag for any on-topic question that (a) involves MATLAB either as a critical part of the question or expected answer, & (b) is not just about how to use MATLAB .

6 votes
2 answers
161 views

(Mixed-)model specification and comparison for testing hypotheses concerning continuous ratings

In a behavioral study following a within-subjects design, subjects of various levels of musicality (years of education) gave continuous liking ratings of three audio stimuli, each under three ...
z8080's user avatar
  • 2,362
4 votes
5 answers
158 views

Is it valid to exhaustively test all possible combinations of features to find the best combination?

I have about 1000 labelled observations from about 50 subjects responding physiologically under different situations and am trying to classify the situation (usually into three classes of roughly ...
user1596274's user avatar
0 votes
0 answers
15 views

How to improve prediction quality of LSTM model

I am trying to train an LSTM-based model in MATLAB to predict 365 next values given 365 previous values of a time series. Input shape is (1000, 365) and output shape is (1000, 365) i.e. there are 1000 ...
Avnish Bansal's user avatar
1 vote
0 answers
22 views

How to combine confidence interval (or standard error, or standard deviation) for the sum of 2 fitted parameters

I am fitting a linear mixed model with the equation: $$ y = \beta_0 + X_1 * \beta_1 + \text{random effects} + \epsilon $$ I use the model to compare difference of means between two groups, $X_1$ is a ...
Lily's user avatar
  • 11
2 votes
1 answer
57 views

Why does factor appear significant in 2-way ANOVA but not by inspection (mean +/- sd or error plot)?

I am puzzled about the result of a 2-way ANOVA analysis. The factors are categorical and non-random and the sum of squares used is constrained type III (the choice of categorical or SS type does not ...
Buck Thorn's user avatar
0 votes
0 answers
45 views

Heteroscedastic residuals of a VECM estimated by MLE

I have estimated an VEC model in Matlab, and it turns out the residuals are heteroscedastic. Now, does anyone know how to apply HAC errors to a VEC Model in Matlab? Alternatively, given the model is ...
user409978's user avatar
0 votes
0 answers
34 views

Simulate bivariate bernoulli responses with predefined beta coefficients

I have a specific data matrix with features (mainly categorical). I want to simulate a multivariate bernoulli response, for example bivariate, but with a predefined vector of beta coefficients (most ...
eddie8434's user avatar
1 vote
1 answer
74 views

Determining a mix of clusters by using naive Bayes classifiers

I have the following question which I cannot seem to find an easy answer to: given that we have two groups (let's call them 1 and 2), is it possible to determine a mixed percentage of the groups by ...
Tino D's user avatar
  • 268
0 votes
0 answers
24 views

How do I calculate the weighted average of a 2D data set for a 3D structure?

I have a 2D data array indicating a chemical percentage content (PC) in a chemical droplet. I am trying to calculate the average PC in the droplet. The image of one of these arrays is shown below (the ...
user7077252's user avatar
0 votes
0 answers
17 views

Bootstrapped Confidence Intervals controlling for FWER?

I'm currently using the bootci package in MATLAB to compute bootstrapped confidence intervals. I have data for two variables and I'm interested in comparing differences in means of these variables. ...
pinpss's user avatar
  • 1
1 vote
1 answer
53 views

Number of simulated statistics more extreme than most extreme real data statistic

I have a distribution of $n_{obs}$ "real" data observations drawn from a normal distribution $X \sim N(\mu,\sigma^2)$, and a number $Q$ of simulated realizations of the same distribution, ...
user406833's user avatar
1 vote
1 answer
30 views

AdaBoost in Matlab - Only get 88% accuracy with Fisher's Iris data set while 100% in one layer Neural Network

I have made AdaBoost in Matlab. I get 88% in accuracy when I use Fisher's Iris flower set data. Here is the working example: ...
euraad's user avatar
  • 425
1 vote
0 answers
62 views

Creating and Using a Skewed Gaussian Distribution in Matlab [closed]

I am very new to matlab, and only used it to do some fairly basic math to visualize a method. Here is an example of what I've done with a normal distribution: ...
alwaystuck's user avatar
0 votes
0 answers
26 views

Query regarding MI and NMI in the context of image fusion

I am exploring Mutual Information (MI) and Normalized Mutual Information (NMI) in the context of image fusion. While reviewing various sources, it's often mentioned that Mutual Information's value ...
925678's user avatar
  • 1
3 votes
1 answer
77 views

What is the correct implementation of MCMC

I am learning Markov Chain Monte Carlo (MCMC) simulation as of the moment. My background is civil engineering and please excuse my ignorance if some of the questions are quite obvious. I want to learn ...
ian's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
87