All Questions

0
votes
0answers
2 views

Marginal effect from two models with different dependent variables

This question is somehow related to this one and this one. I have two models with the same independent variables on the same dataset. Model1: Y1 = alpha0 + alpha1 X1 + alpha2 X2 + error1 Model2: ...
0
votes
1answer
6 views

Array of Real Values

Array of real values (01,02,03,04,...10) such that value 1 would be repeated 5 times, value 2 would be repeated 6 times and rest would be repeated 7 times each. How i could this in R.
0
votes
0answers
5 views

Regression for multinomial distribution (negative and positive correlation coefficients)

I have a dependent variable, which is a multinomial distribution resulting from positive and negative correlation coefficients. Those correlation coefficients represent the relationships between ...
2
votes
0answers
8 views

Forecasting using MA(2) model when past 5 observations are known

So given an MA(2) model : Xt = Wt + Theta1 * Wt-1 + Theta2 * Wt-2 Where Wt is white noise. (Normally distributed) and Theta1 and theta2 were available. Say if X96,X97,...X100 of the series were given ...
0
votes
0answers
3 views

longitudinal vs. cross-sectional vs. panel analyses

I would appreciate some help distinguishing between cross-sectional, longitudinal, and panel analyses. We surveyed people at T1 and surveyed these same people at T2 (four weeks later). At T1, we ...
0
votes
0answers
4 views

Using sample() to split a dataset [on hold]

I'm looking to split the 150 observation iris dataset into a specific number of observations for train and test; 112 and 38 respectively. I've tried the following: iris[,1:4] <- scale(iris[,1:...
0
votes
0answers
4 views

Alternatives/Reccomendations for Multiple Comparisons?

please bear with me. I'm trying to get preliminary data analysis results from data generated through simulations in order to test two algorithms (one is called 'DFS', the other is called 'circular) to ...
0
votes
0answers
4 views

Why does unconfoundedness not hold if the covariates are affected by the treatment assignment?

I found a mention inside the Rubin-Imbens Causal Inference book that: Unconfoundedness is generally violated if X includes variables that are themselves affected by the treatment. For example, in ...
0
votes
1answer
6 views

Bayesian update of a confidence interval

How does one update a confidence interval using Bayes rule? Say, for example, an experiment shows that the mean lies in [A, B] with 95% confidence. Later, a colleague says they ran a similar ...
0
votes
0answers
6 views

Generating three random numbers from normal distribution using 3 independent uniform numbers

Each of the variables A,B,C follows a normal distribution with E(A)=E(B)=E(C)=1,V(A)=1,V(B)=2,V(C)=4. Correlation between A-B=0.2,B-C=0,AC=0.8. We are given three independent uniform (on[0,1]) random ...
1
vote
1answer
6 views

The relation of eigenvalue and PCs in PCA

In R, I got the result of PCA and eigenvalues and vectors and three eigenvalues above 1 were checked. If so, is it valid data from PCA results to PC1 ~ 3? Here is my eigen values and vectors, ...
1
vote
0answers
9 views

How does one evaluate a null hypothesis of an absolute value of a parameter?

Say I am evaluating a null hypothesis such that H0: |p| = 1 Ha: |p| < 1 And want to understand how this differs in implementation and evaluation from the test: H0: p = 1 Ha: p < 1 Is this ...
0
votes
0answers
2 views

What does it mean when running ANCOVA with two moderators and one of the interactions is insignificant when ran together?

I am hypothesizing that there are two moderators in the relationship between IV and DV. I ran one ANCOVA with moderator A and the interaction between IV and moderator A is significant. Then I ran ...
0
votes
1answer
12 views

Tools in Data Science [on hold]

I am a new one in Data Science and Machine Learning. I have some experience in Java, Python, SQL, Jupyter and most polular libraries like scikit-learn, numpy, pandas, tensorflow, keras. What tools ...
0
votes
0answers
3 views

How to properly integrate data from multiple studies in a training/testing classification framework?

I currently have data from several studies, with each having different sample sizes and possibly different set-ups. There is a common binary variable of interest across all studies that I would like ...
2
votes
0answers
10 views

Question about using Bayesian rule as a classification for continuous data set

Please note that my question is not about coding. I am now learning Bayesian classification and I think I understand it in a discrete case. I have trouble understanding it for multivariate continuous ...
0
votes
0answers
8 views

Knn Classification on iris dataset

I'm following along https://rpubs.com/Drmadhu/IRISclassification to understand Knn classification. Here's the code I have: library(FNN) iris.sample<-sample.int(n=nrow(irisdat),size=floor(0.75*...
0
votes
1answer
6 views

How to select a single updated centroid if multiple centroids are equidistant for a single group when running k-means/k-medoids?

I am trying to write my own k-means and k-medoids clustering algorithms. I understand the general idea: given k centroids, one continually updates the centroids ...
0
votes
0answers
3 views

Popular stochastic model for behavior of staying at the same position?

I am looking for a popular stochastic model employed for a trajectory of a fish which tries to keep staying at the initial position against water pressure from time-varying directions. The trivial ...
0
votes
0answers
7 views

How to interpret ROC curve?

I am currently doing a classification problem for classifying the functional class and non-functional class of peptidase cleavage site. The data on non-functional class (negative class) is highly ...
0
votes
0answers
6 views
0
votes
0answers
6 views

Eigenvalues as weighting factors for projection results on corresponding eigenvectors in PCA

In Novel PCA-based Color-to-gray Image Conversion, the authors "utilize the eigenvalues as weighting factors for projection results on corresponding eigenvectors", in order to project a $(R, G, B)$ ...
0
votes
0answers
11 views

Back-Transformation for Ln(X+1) of zero rich data

I have seen and read several similar questions, but mine pertains specifically to zero rich data. I will be back transforming my data based on a first order Taylor series approximation. As outlined ...
0
votes
0answers
13 views

Approximate distribution for sum of squares of standardized Poisson random variables

Suppose that $X_1, ..., X_n$ are independent and identically distributed Poisson($\lambda$) random variables. What is a good approximating distribution for $\sum_{i = 1}^{200} \frac{(X_i - \lambda)^2}...
0
votes
0answers
11 views

What statistical property is absent in 2-sample hypothesis tests of 5 measurements?

Suppose we observe a random sample of five measurements: 10, 13, 15, 15, 17, from a normal distribution with unknown mean $\mu_1$ and unknown variance $\sigma_1^2$. A second random sample from another ...
1
vote
1answer
18 views

What is the constrain in ridge regression?

My class started learning about ridge regression two weeks ago. Before that we learned about Lagrange multipliers and the connection between that and ridge penalty/constrain function. Ridge: ...
0
votes
0answers
6 views

Regression via neural network on training data with uncertainties

I have a regression task where all my training data that I want to predict is of the form ($y$, $\sigma$), where $\sigma$ is the Gaussian noise corresponding to $y$, i.e. I want to be able to predict ...
1
vote
1answer
20 views

What is the expected value of half a standard normal distribution?

You have a normal distribution with mean of 0 and variance of 1. Keeping the same probabilities and focusing only on half of the distribution (other half has it's original probabilities but x values ...
0
votes
0answers
6 views

Independence in this Bayes net

Consider this Bayes net A,B,C forms a v-structure. $B \not\!\perp\!\!\!\perp C | A$, B is not independent with C if A is observed. My question is, if B,A,D are all given, can we write $p(C|B,A,D) = p(...
0
votes
0answers
3 views

SVM one class outlier/classifier with Matlab

I have several time series (a small sample is in the end of the question) and I am trying to find the outliers using SVM. I have used this to find the outliers ...
0
votes
1answer
7 views

How I specify a covariate in Anova model (r)

I have the following model: model = aov(y ~ treatment + Age, data = dt) How I determine Age as a covariate (covariable) in r? ...
0
votes
0answers
11 views

What is the discrete equivalent of a truncated normal? [on hold]

Let random variable X be distributed with a truncated normal with unspecified mean, unspecified variance, a(the lowest limit) = 0 and b some fixed natural number greater than 0. With the Y axis we ...
0
votes
1answer
25 views

Probability of Pregnancy

I have a probability question, I am not sure how to make of it. Hope you can give me some guidance, math has never been my strong subject. Assuming the lady is 36 years old and is considered part ...
0
votes
1answer
12 views

Chi-square based tests tending to zero for large sample sizes [duplicate]

I think I have some misconception about chi-square based tests such as Pearson's test or McNemar's test. The way the tests are defined, the test statistics produced by the formulas are not stable ...
0
votes
0answers
4 views

Is every distribution factorizable by an MRF also factorizable via a Bayesian network? And vice versa?

This has probably been asked before, so if it has please provide a link to the original question and close this as a duplicate -- I was not able to find the original question myself. Question: Let'...
0
votes
1answer
7 views

is there a way to find suitable ratio for “ratio” in Matchit package in R

I am using matchit package in R to find a control set for my treated units and I am testing the model with different ratio to get suitable control set. Is there a way to find suitable ratio and I will ...
0
votes
0answers
2 views

Ranking website page performance with number of page requests and load time

I have no background in statistics, so I find myself confused by this simple problem. I'm not even sure which search terms to use. I have some website performance data. I have the number of times ...
0
votes
0answers
5 views

How do I check my GAN implementation is correct?

I wrote a GAN implementation and I trained that to produce some sample images after training on a dataset. The images looked visually fine. Now I want to test my implementation on the CI and make ...
0
votes
0answers
15 views

Question regarding Taleb's metaprobability of p-values

There has been a other question here regarding Taleb's article The Meta-Distribution of Standard P-Values. I have a somewhat different question, at the very end of the article Taleb claims that: • ...
1
vote
0answers
13 views

Is there a simple way to conduct a significance test on the equality of coefficients from a logistic regression?

Elsewhere some have proposed a method for conducting a significance test on the equality of slope coefficients using the equation: $Z = \frac{\beta_1-\beta_2}{\sqrt{(SE\beta_1)^2+(SE\beta_2)^2}}$ ...
0
votes
1answer
21 views

Do OLS residuals tell us anything about the distribution of the error term?

I'd like some intuition on a question that has long confused me. Suppose we have a data-generating process $$y_i = x_i' \beta + \varepsilon_i $$ where $\mathbb{E}[\varepsilon_i] = 0$, $\varepsilon_i ...
0
votes
1answer
23 views

Why is the infinite-population perspective usually taken in sampling? What underlying bias/convergence implications are there?

In sampling literature and causal inference literature, there usually is a distinction made about how to view observed data. The first is usually to view some observed data as having come from a ...
0
votes
1answer
10 views

Is it appropriate to use estimated marginal means when model estimates are not significant but data is unbalanced?

Is it appropriate to use estimated marginal means when estimates (either interaction or main effects) are not significant but the data is unbalanced? I've come across variations of this question on ...
0
votes
0answers
12 views

GPU for fully-connected network?

I'm interested in neural networks from a general machine learning and pattern recognition perspective and not as much from the perspective of image processing or NLP data. If I want to train a neural ...
0
votes
0answers
5 views

Examples of how to report results of a GLS

I am looking for some good examples in the primary literature where a GLS was used. I am pretty new to mixed modelling, and while I got it working, I am struggling at the write up stage. Google ...
0
votes
0answers
4 views

How I specify a covariate in Anova model (r) [on hold]

I have the following model: model = aov(y ~ treatment + Age, data = dt) How I specify Age as a covariate (covariable) in r? ...
0
votes
0answers
10 views

Linear and Non-Linear dimensionality reduction with missing variables

I'm trying to compare the two types of reduction by applying it to a list of ingredients for about 1000 sponge cakes. The ingredient lists do however have miss certain ingredients out for some cakes, ...
0
votes
1answer
15 views

How to standardize data with low variance?

I have quarterly data of federal fund rate (test set), e.g.: ...
0
votes
0answers
13 views

Problem: How many 'timetables' can be created for visiting 8 different lectures without time clashes?

Apologies for the poorly worded question but it really requires more explanation than can be done with one line. I have a statistics problem, or rather, a timetabling problem that I feel can be solved ...
0
votes
0answers
16 views

15 30 50 per page