# All Questions

137,827 questions
15 views

### ggsave gives blank jpeg image [migrated]

I am trying to save my plots in my R script. I used the following context: ...
12 views

### Randomized Block Design Models

I have been asked to fit the following models in R: The models are based on this data: I know the mediums are the blocks and the units of the active ingredient are the treatments. I understand how ...
6 views

### If one has a sequence of possible MC chains, but they are independent, then what does “expectation of the entire set of outcome sequences” mean?

If one has a sequence of possible MC chains, but they are independent, then what does "expectation of the entire set of outcome sequences" mean? E.g. for a 1-length chain one may have: 1->2 with p=1/...
64 views

### Learning a quadratic function using TensorFlow/Keras

Heads up: I'm not sure if this is the best place to post this question, so let me know if there is somewhere better suited. I am trying to train a simple neural network to learn a simple quadratic ...
14 views

31 views

39 views

### Wrong fitted parameters in multivariate linear regression?

I am implementing multivariate linear regression using numpy, pandas and matplotlib. I then ...
12 views

### TBATS, daily data, and room nights forecasting [on hold]

I hope this message finds you well. After some research I came across the application of TBATS model for the forecasting of room nights in the hospitality sector. Is there any detailed R guide that ...
15 views

### How to simulate average data based on time series model? [on hold]

I am using R Studio. I have a dataset of electric load for a building taken at 5 minute intervals for an entire year. I generated a time series vector using a daily frequency and have trained an ARIMA ...
13 views

I conducte a survey in a state related to perception regarding child sex ratio, for this I selecte the two district with high and low child sex ratio,now I travel with that how I selecte the sample ...
14 views

### Multicollinearity between categorical and continuous predictors [duplicate]

How can I check collinearity between categorical and continuous predictors (there are four predictors)?
22 views

### sampling from normal distribution using MCMC doesn't seem correct [on hold]

I'm trying to sample from the normal distribution with a mean of .5 (like flipping a coin) and an arbitrary standard deviation using a markov chain (sequence of numbers where each number is dependent ...
39 views

### UMVUE of $\cos\theta$ when $X_i\sim U(0,\theta)$

$X\sim U(0,\theta)$. To find the umvue of $\cos\theta$ is it enough to find the umvue of theta and substitute for it. Umvue of $\theta$ being $(n+1)X_{(n)}/n$, is the answer $\cos (n+1)X_{(n)}/n$?
12 views

### Do all parameters have to have the same nature in a structural change test?

This is a duplicate of this query (I was asked to shift the query from economics.stackexchange to Cross Validated SE.) Lets say I am building a market model to estimate the beta of a stock with ...
11 views

### Intuition / motivation for 2 “measure” values on a bullet chart

I am trying to understand a bit more about the statistical intuition behind bullet charts. This one in particular has two "measure" readouts, one is dark blue one is light blue: For clarity, the gray ...
14 views

### How to properly use BLEU score to compare your model to existing models?

So I am using the BLEU score metric to evaluate and compare my neural machine translation model's performance with existing models. However, I'm wondering how many criteria do I have to match with the ...
12 views

### Estimating common slope across two traits for a parallel growth curve model

I am using a parallel growth curve model with 5 waves longitudinal data to evaluate correlated change among 2 traits. For models that showed the effects of correlated change among traits, I'm ...
20 views

### Using predict() on a multiple regression object with specific values set for some of the predictors

final.reg1<-lm(formula=medv~.,data=Bostondat) Here's the Multiple regression model I'm running on the Boston data set. I would like to predict the medv for the case when crim=0.05,rm=8,tax=279,...
10 views

### Can I create a composite variable for my two dependent variables?

I am working with two dependent variables that are both measuring a country's level of nuclear security. The first variable is a country's nuclear security index rating (range 1-100). The second ...