0
votes
0answers
2 views

Mixture Density Network: What is C?

I'm currently trying to implement a Mixture Density Network (MDN) based off of the original paper here. Most of the equations seem pretty straight forward but on page 6 (7 of the PDF) equation 23 has ...
0
votes
0answers
3 views

Checking if an Error Type Occurred After Running A Hypotheis Test - Split (A/B) Test

When doing Split (A/B) Testing, or really any other Statistical Hypothesis test for that matter, there is always some chance of committing a Type 1 or Type 2 error. I am wondering if there are any ...
0
votes
0answers
4 views

Combining two variables in SPSS

I have a questionnaire about factors that affect trust in online shopping. The questionnaire is split into 5 topics (such as security, privacy, website design etc.) with 2 questions per factor. I've ...
0
votes
0answers
3 views

For a sequence of i.i.d. RV with $X_1 \in L^1( \mathbb{P})$ and $m=E(X_1) \in (0, \infty)$ we have $X_1 + \dots + X_n \to \infty$ almost surely

Problem: Let $(X_n)$ be a sequence of i.i.d. RV with $X_1 \in L^1$ and $0<m=E(X_1)<\infty$ then $X_1 + \dots + X_n \to \infty$ almost surely My approach: I am trying to keep it short, ...
1
vote
1answer
197 views

Creating a composite rank of restaurants with some missing data

I have monthly sales data of 500 restaurants for one year. For the same restaurants, I also have customer defection or dissatisfaction rates. I want to create a composite score that can rank ...
0
votes
0answers
39 views

Will PCA also produce multicollinearity? [on hold]

It's well known that PCA will generate orthogonal basis. But in practice, I found that even after PCA, I can still face the problem of multicollinearity. Is it due to the numerical limit or I did ...
0
votes
3answers
57 views
+50

Card deck shuffling, what is the probability that four lowest card of a suit are distributed to all four players?

In 4-player trick-taking game where taking a trick constitute a penalty (e.g. Hearts), I've often seen the card 5 (the fourth-lowest rank in a suit, when 2 is the lowest and Ace is the highest) takes ...
0
votes
0answers
6 views

Mixed models: Is there any way we could decompose the estimate variations by covariates? [on hold]

I modeled $Sales$ for year $t$ of firm $i$ in industry $j$ ($sales_{tij}$) as a function of an intercept ($\beta_{0}$) plus a residual or error term ($xi_{tij}$): \begin{align} {\rm sales}_{tij} ...
0
votes
1answer
8 views

Joint fixed effects versus individual fixed effects

What is the benefit of including two fixed effects (say one for state and one for year), versus including a state fixed effect, a year fixed effect, and a joint state-year fixed effect? Isn't the ...
0
votes
0answers
6 views

Testing 2 populations and how the effect of one variable impacts the score of a 2nd variable

Brief summary of my study: I am studying two types of organizations, A and B. For both organizations A and B, I measured how centralization affected innovation. There were significant differences ...
0
votes
0answers
4 views

Using likelihood for event correlation in Bayesian network

Assume we have a simple Bayesian network, each event (alarm propagation) is a binary vector. Each node can trigger an alarm independently, but alarm propagates in the network with the probabilities of ...
4
votes
1answer
49 views

Why does significance not equal validity? Why can't I stop a test as soon as it has significant results?

According to this article, there's an issue with concluding a test as soon as it reaches significance (the "peeking effect"). Instead you need to determine the sample size ahead of time, and only look ...
0
votes
0answers
7 views

Modelling a polynomial interaction

Say I have a model with one response variable ($y$, a continuous variable) and two predictor variables ($x_1$ & $x_2$, both continuous). My model includes both the additive effects of these ...
0
votes
0answers
7 views

Two versions of the Breusch-Pagan test?

I have learned (and it is the case for instance in Woolridge's Introductory Econometrics) that the sample statistic is $nR^2_{\hat{u}^2}$, that follows a $\chi^2(k)$ distribution. But I have come ...
0
votes
0answers
8 views

Can the partial r² be interpreted as the percentage of cases that are explained by the predictor?

The partial r² (of a predictor in a linear regression model) is the share of unique variance of the dependent variable explained by the predictor. That is also the percentage of cases, which values in ...
0
votes
0answers
11 views

R auto.arima with intervention, intervention only affects one point

I have a model fitted with auto.arima, the model is ARIMA(0,1,0)x(0,1,0)[6] with seasonal period 6, the data is in bi-monthly basis so there is an annual seasonality.There is only one regressor ...
0
votes
0answers
7 views

What statistical test should I use for this question? [on hold]

You discover an isolated tribe living in a forest. Each member of this tribe has an unusual bacteria in their colon. You take a sample of bacterial cells from 6 random villagers and measure the ...
0
votes
1answer
6 views

Algorithms implemented in Java to measure multi-core CPU performance [on hold]

I've been using Linpack and SciMark2.0 algorithms to evaluate CPU performance. I found those here: ...
0
votes
0answers
7 views

Calculate expected returns [on hold]

I've signed up just now in order to get some answers. I have some problems in R because it is a new field for me. I have a time series which includes monthly stock returns of 40 companies. They range ...
0
votes
1answer
11 views

Removing points in r [on hold]

Can somebody provide me a command in R to remove point 437. When the original command is base.model <- lm(PRICE ~ BEDROOMS + BATHRMS + DATEBLT + GARAGE + TERRACE + FLR_AREA + DETACHED, data = tw). ...
0
votes
0answers
8 views

the Randomised Complete Block Design

I got the following output using the Randomised Complete Block Design: ...
4
votes
1answer
368 views

Compare Log-Normal Distributions

I am looking at distributions for the fuel consumption of vehicles in the US and I have two sets of data: Data Set 1 - This is a dataset for the fuel consumption of all vehicles made available for ...
0
votes
0answers
10 views

What statistical test should I use in this situation?

Say I am sampling fish from a reach of stream (a set distance). I sample three distinct habitat types (same distance each) within this reach to calculate a score for the site (each habitat recorded ...
0
votes
0answers
3 views

Q: Including group dummies vs. calibrating dependent variable

I analyze the dataset obtained through a series of simulations and I am interested in understanding the effect of endogenously generated variable $x_1$ on the outcome $y$, across all simulations. Each ...
0
votes
1answer
4 views

Sample from a Normal-Inverse-Chi-Squared distribution

Is there a way to draw samples from the following distribution in Python? Unfortunately I wasn't able to find helpful information in the scipy help.
0
votes
1answer
24 views

Rescale predictions of regression model fitted on scaled predictors

Let's say I fit a model to data that has been standardized to z-score form: ...
0
votes
0answers
8 views

Convert SAS syntax for mixed models for repeated measures in R

I want to attain a p-value in R using lme4 or nlme which has been obtained from mixed models (...
4
votes
0answers
26 views

Linear model comparison - which does my data fit best?

This is a very simple exercise that I'm hoping may help people with limited knowledge in statistical analysis (like myself). I am having trouble deciding what statistical analysis I can perform (in ...
4
votes
0answers
25 views

Computation of the marginal likelihood from MCMC samples

This is a recurring question (see this post, this post and this post), but I have a different spin. Suppose I have a bunch of samples from a generic MCMC sampler. For each sample $\theta$, I know the ...
0
votes
0answers
8 views

Probability of descendants [on hold]

I am looking for a routine to estimate the probability that a person will not have descendents in the xth following generation. I assume that one would start with a probability distribution of the ...
2
votes
3answers
541 views

Linear regression or mixed effects models for data with two time points?

I have a dataset in which individuals were assessed at two time points during the study on a cognitive test, as such I was wondering which statistical model would be more appropriate for my data, ...
2
votes
2answers
1k views

Popular named entity resolution software

I am working on a project and need to extract persons' names from a large amount of documents. This task should belong to the named entity resolution problem. What are currently some of the most ...
0
votes
0answers
16 views
+100

Align noisy point clouds

I have a point cloud $X$ that, I suspect, is a translate of a Gaussian-corrupted version of a subset of a larger cloud $Y$, both high-dimensional ($d$ is at least 100 and ideally 10,000). What is the ...
0
votes
0answers
4 views

How to calcualte the perplexity of the twitter-LDA?

I am trying to evaluate different topic models. When it comes to twitter-LDA, I am not sure how to evaluate the perplexity. I regard the background assignment as another topics. Thus there are totally ...
0
votes
0answers
7 views

How to get 95% CI from R's coxph?

I have used the following function in R's coxph() to fit a cox hazard model. I want to report the proper statistics; however, there is no 95% CI in the output. ...
0
votes
0answers
10 views

Measure dependence/correlation of two variables in a multivariate setting

In a generalized setting, we have a dataset $\{y, x_1, x_2, x_3\}$ where I want to measure if $x_2$ has any correlation with $y$. There are couple of caveats, $x_1, x_2, x_3$ themselves can be ...
1
vote
0answers
15 views

Bayesian linear regression - Defining hyperparameters

I am currently working on a linear regression task from a textbook and I have some questions. In the following you will find the task as well as some thoughts of mine to possible results. Short ...
10
votes
3answers
188 views
+100

detect number of peaks in audio recording

I'm trying to figure out how to detect the number of syllables in a corpus of audio recordings. I think a good proxy might be peaks in the wave file. Here's what I tried with a file of me speaking in ...
4
votes
1answer
51 views

Bayesian model comparison in high school

I teach physics to high-school students, and I would like my students to conduct a rudimentary Bayesian model comparison for data from their experiments. I figured out a way for them to do so (see ...
0
votes
0answers
22 views

Improving multiple regression model

I can't upload the graph due to my low reputation. However, if you want me to email you that I can email it to you. 1) Is there a problem with this model? I need ways to improve the base model. ...
0
votes
0answers
25 views

Dependent/Conditional Probability over time [on hold]

I deal with statistics to quantify and describe time series all the time, however, I was asked by a friend to help provide a solution to his problem. The scenario is essentially this: 100 empty ...
0
votes
0answers
4 views

One-way Fixed model

Duppose we have 12 treatments, and to start the experiment we choose these treatments, randomly. However, after selecting one treatment, all the samples are gathered and we shift to the next treatment ...
0
votes
1answer
6 views

First order model vs n-order models

Plenty of different research models showed that n-order models give better results than first order models. For example, for location this is work that shows this ...
3
votes
1answer
183 views

Odd shift of statistical significance when some variables are dropped from model

I am testing the statistical significance of some explanatory variables in a factor model, using the Fama-MacBeth two-pass regression (also known as the Cross-Sectional Approach). Assuming my ...
0
votes
0answers
13 views

Forecast package Prediction Horizon issue in R [migrated]

I am new to R. I was trying to predict using holt method but getting this strange error. I am using forecast package V-7.1 with R (version 3.2.5) and Rstudio (Version 0.99.896). I reinstall all from R ...
0
votes
0answers
7 views

Analyzing series of events, controlling lengths

(Excuse me for terminological problems. After I tried to find the solution, I started looking for at least the right names for the concepts I use, but I failed, as the simple descriptions I tried to ...
1
vote
1answer
14 views

How to combine two beta-binomial distributions

Say I have the following situation. I have two weighted coins: Coin 1: In the past I've seen this coin flipped 10 times, 8 of which it came up heads. So I can model the probability of n heads out of ...
2
votes
1answer
19 views

Predictions from BSTS model (in R) are failing completely

After reading this blog post about Bayesian structural time series models, I wanted to look at implementing this in the context of a problem I'd previously used ARIMA for. I have some data with some ...
0
votes
0answers
8 views

Question running poLCA in R

I am trying to run the poLCA program in R. I am running a model with 9 manifest variables, but the model only analyzes and produces output for 7 variables. This is the case no matter how many latent ...
3
votes
1answer
33 views

Comparing fitted parameters of power-law distributions

I estimated using maximum likelihood the parameters of power law distributions, I would like to compare the exponents fitted to data from different regions and also to data from the same region but ...

15 30 50 per page