instruction stringlengths 9 38.7k |
|---|
I am trying to incorporate HMC into an algorithm that requires me to generate samples that are uniformly distributed in the distribution being sampled. Ie, the samples are not necessarily uniformly distributed themselves, but they are uniformly distributed according to the distribution being sampled.
My initial thought... |
I have a question, how to prove formula (2.12) in book 《Elements of Statistical Learning》
|
I am trying to build a zero-delay kalman filter which udates its process noise covariance matrix $Q_k$ depending on the value of the residues $z_k - H\cdot x_k$. My problem is, I have adopted a 1D constant velocity model, and the brutal change in the variance updates on the position part of state after 2 step, and not ... |
Suppose two groups of people from country A and country B responded to a question before an event. Sometime after the event again two groups from the same countries responded to that question. Now let's assume 50% of the respondents are shared between the two waves in both countries. We don't know whether the samples a... |
I have data for binary classification (red/non-red). The data comes from different users with ids 1-N. Data from different ids have a) different distributions of red examples and also b) different number of examples. The first table illustrates this.
id # red
1 100 .3
2 200 .1
3 100 .166
==============... |
I'm not sure had anyone open this question but I'd like to your opinions. When we compare two groups(control&treatment) measured at pre,post and a follow up procedure, which is the most useful tool to say treatment condition superior at post and follow up level? As far as I can see, we can use two way Repeated Measures... |
Consider an ensemble of weak learners (i.e. regressors or classifiers) whose predictions are aggregated (e.g. via averaging or majority vote) into an ensemble estimate.
This gives rise to the question when exactly building an ensemble is better than simply using a single member. Quantifying this effect leads to the not... |
I have several data types and I want to use them as features for binary classification task.
The data is as follows:
1- Genes: I have several datasets containing bulk RNA-seq data. Some of these datasets have already undergone normalization through TPM (Transcripts Per Million) normalization, while others are still in ... |
I'm developing a python library for confidence intervals for common accuracy metrics, with both analytic and bootstrap computations.
Following this paper, I implemented the Macro and Micro F1 scores analytic confidence intervals.
However the derivation for the (commonly used, and the default mode in sklearn) binary F1 ... |
This question is a spin on the question Basic probability question but struggling (brain teaser with friend) but with some additional rules and considerations that make it more complex. The differences are that we can only make a single bet, and there is uncertainty about the composition of the urn.
We are looking for... |
I'm reading Stephen Senn's book, Statistical Issues in Drug Development, and come across this formula for the expected variance of a randomised clinical trial, with a fitted single continuous covariate, given that a perfectly balanced clinical trial has a variance of 1: 1+1/(2n-4).
I was thinking that the 2n-4 the -4 i... |
A common critique I have heard levied against conflict studies (research examining the causes, consequences, and solutions to violence such as civil war, terrorism, etc.) is the problem of selection bias. To qualify this, much of this research consists of non-random samples that are basically entire populations within ... |
I have a continuous response variable representing plant disease severity, with values ranging from 0 to 5. The R unique function shows the following values in my response variable (0.0, 0.5, 1.0, 3.5, 3.0, 2.0, 4.0, 2.5, 5.0). The response variable contains many zeros and is right-skewed, but the zeros are important f... |
Let's assume I have a measurement $d + \epsilon_d$ where the true value of the measurement is $d$ and the error associated with that measurement $\epsilon_d$ has a uniform distribution $\epsilon_d \sim U(-0.5, 0.5)$.
I have a random variable that is a function of that measurement and error: $Z = \cfrac{B * f}{d + \epsi... |
I know that in the case of case-control studies you should report odds ratio, because risk ratio cannot be calculated in this kind of study (I think this is what this question is about When looking at the association between binary variables, when are odds ratios better than risk ratios and vice-versa?).
But if we have... |
Bit of a Bayesian noob here with a very simple question - does ELPD of a model depend on the number of observations / datapoints?
Longer version: I am comparing several models for the same underlying dataset, but grouped different ways such that the number of datapoints is different for different models.
I recently swi... |
I'm running a multiple logistic regression with a binary output 0,1 with inputs of both continuous and discrete variables- around 6 independent variables total. The output is if a customer will buy or not, but there are a lot of results in which they bought at one point (1) and then decided to no longer buy (0). As suc... |
I have a stochastic volatility model for commodity price which follows an AR(1) process:
ln(pt ) − m = ρ (ln(pt−1) − m) + exp(σt)ut ut ∼ IID(0, 1)
σt − μ = ρσ(σt−1 − μ) + ηεt εt ∼ IID(0, 1)
After estimating the above process, I use the estimated parameters to solve a small open economy model where the price of... |
I am using glmmLasso in R to get predictions; my outcome is binary so I am using a logit model. My code looks something like this:
glm.fit<-glmmLasso(y~ x1 +.. xn, rnd=list(id=~1),
lambda=1,family=binomial(link=logit),switch.NR=TRUE, final.re=FALSE)
After which I would like to get the predicted outcome and ... |
I'm (re)studying hypothesis testing from the book All of Statistics by Larry Wasserman (2005, Chapter 10, link), because when I studied the concept in one of my university courses I didn't understand it very well.
I still don't understand some points that many may find simple, and here I'll review step by step the main... |
Many sources online recommend that we use a rolling window to make forecasts. As I am in a choice between using a fixed window and a rolling window for my data I am trying to find any empirical evidence to get a sense of the improvement in forecast accuracy provided by using a rolling window. However, I have a really h... |
I'm being provided a dataset with several variables in it, and a success metric (1 or 0) at the end. I'm being asked to analyze the dataset and give insights on how to improve the success metric rate.To do this I intend to do a thorough data analysis to study correlations and relationships. However I'm also intending t... |
I have a dataset of users, states, and social classes (each user lives in a state and has a certain social class). The dataset consists in only 2 columns: state and social class, and each row corresponds to one user. There are millions of distinct users (rows), 27 distinct states ([1,2,...,27]) and 6 distinct social cl... |
I understand that when performing linear regression, one common rule-of-thumb is that for a good 'fit', the residuals should be 1) independently distributed, 2) stationary and 3) not serially correlated.
In practical terms, this can be achieved with multiple statistical tools i.e. Augmented Dickey-Fuller (ADF) a Ljung-... |
I have a total population of X, and I test Y < X units for a certainly binary reliability test. Of Y units, some y fail the reliability test.
Is there a method (oversimplification is ok) that can tell me 1) what would be the expected failure rate (or range of failure rate) of the total population X, and 2) what is the ... |
I'm currently working on a project where I need to identify an appropriate model that accurately fits the data generation process of my study. The goal is to have a model in which the covariance matrix aligns with the structure of the var_cor matrix utilized in the data generation process, i.e. a block diagonal matrix.... |
I have three within-participant conditions (a, b, and c). I hypothesize that compared to condition a, some event x is less likely under condition b and is even less likely under c.
Namely P(x|a)>P(x|b)>P(x|c).
Using ANOVA I can check that the probability in the three conditions is different, but I have a stronger hypo... |
Consider the linear model regression (matricial form):
$$y= X\beta + \epsilon$$
I am reading the book Econometrics, by Fumio Hayashi. Considere the following:
Assumption 1.4 states that the $n\times n$ matrix of conditional second moments $E[\epsilon \epsilon' | X]$ is spherical, that is, proportional to the identity ... |
My work team has come across a situation in our propensity score matching analysis where matching treatments to controls on one covariate, $X_1$, increases the imbalance in a second covariate, $X_2$, and vice versa.
An investigation of the data revealed there is little common support or overlap between the two variable... |
I have a dataset with a number of people at the start of the year and the status at the end of the year (either 0 for alive or 1 for deceased). In the dataset is the mortality probability from a life table (based on sex and age). Other variables are dummies for a.o. type of work and different diets.
I am using a logit ... |
I have two models to estimate the effect of x1 on y (one is a two-way fixed effects model and the other one a first-difference model). Now I want to find out if the coefficient for x1 between the two models differs with statistical significance by computing the standard errors for beta1_fe - beta1_fd with a x2-level cl... |
I am working to improve goodness of fit in a CFA model and am wondering about if I should retain added covariance values that are insignificant. I am adding covariances that are indicated by modification indices one at a time.
If I add covariance to the model and it is insignificant but doesn't harm (or even improves)... |
I am trying to estimate the treatment effect for a pre/post w 2 groups design, subjects were measured on healthcare utilization 1yr before and after the intervention (non-random assignment). The dependent vars are cost/utilization measures that are right skewed, some zero-inflated. To control for the vastly differ... |
Let $F$ be a distribution supported on $[0, \infty)$ that has finite mean $\mu$. The associated excess distribution $F_e$ is defined by
$$
\bar{F}_e(x) =
\begin{cases}
1, & x < 0 \\
\frac{1}{\mu}\int_x^{\infty} \bar{F}(y)\,dy, & x \ge 0
\end{cases},
$$
where $\bar{F}_e = 1 - F_e$. Exercise 4 in Chapter 1 of The Fundame... |
When T = 2, the fixed effects and first-difference models yield equivalent estimates. However, let's assume you have heteroskedasticity and serial correlation in your errors. With the fixed effects estimator you would typically use heteroskedasticity and autocorrelation consistent (HAC) standard errors. With the first ... |
I am working with a random variable that is bounded between 0 and 1, and its mean decreases exponentially over time. I am seeking to estimate this exponential decay rate with its corresponding confidence interval.
Beta regression models with link logit estimate the change in log odds as time increases by one unit. Howe... |
Sheldon M. Ross in his book, "Introductory Statistics" states the definition of statistics to be:
"Statistics is the art of learning from data. It is concerned with the collection
of data, their subsequent description, and their analysis, which often leads to the drawing
of conclusions."
Why is it an art and not a sc... |
I am using the R package MatchThem to match a dataset that contains 19 control samples and 13 case samples.
After running the MatchThem command with nearest-neighbor one-to-one matching without replacement, I see in the summary that the matched sample should now contain 13 controls and 13 cases.
I wanted to extract the... |
I have a data ((x,y),f) that I am fitting using Gaussian Process Regression in Python's sklearn package. The posterior mean of the GP is essentially my output with an associated error. Based on either the posterior mean or the original data itself, is there a way to calculate gradients of the original data via GP?
x an... |
I would like to compare two groups (one treatment group and one control group). In both groups one can identify three different subgroups (let's call them Index-subgroup). I would first like to compare TG and CG without further selection of these three Index-subgroups. Afterwards, however, I would like to compare TG an... |
I fit latent growth models using lavaan's growth() function in R. It looks like this:
model <- ‘int =~ 1*score1 + 1*score2 + 1*score3 + 1*score4
slp =~ 0*score1 + 1*score2 + 2*score3 + 3*score4’
Then I fit them using two samples (females and males).
`fit_male <- growth(model,
data = male,
missing = "fiml",
estimator =... |
i am working with likelihood function and i need 1 parameter to only have positive values. So when I transform this parameter (lets say $\sigma^2$) to $\psi_{\sigma^2}= \log \sigma^2$, how does it influence shape of likelihood function? Also when i do this, will results of maximization the likelihood change or they wil... |
I have a question regarding this proposition.
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be an a.e. differentiable function so that $\int \frac{\left|f^{\prime}(x)\right|}{(1+|x|)^s} d x<\infty$ ($s$ is an integer such that $s \geq 1$) and $X$ be a random variable with cdf $F$. Then, we have
$$\mathbb{E}\left[f\left(X... |
Let's assume that I want to train a classification model for document-level input. The input is sequential (a sequence of tokens within a text). Documents may vary in length (i.e., one or multiple sentences) but are typically 5 sentences long. Let's further assume that I am unable to collect 'real' data for my problem,... |
Following are the definitions "representative" of the countless articles I have read about data vs information and yet have nothing to say about them. Can anyone just put some accent upon these two so I would better understand statistical science?
Data is a representation of individual facts or statistics in their raw ... |
Consider the task to apply dimensional reduction to extract "salient" features from images.
I am confused about what components in PCA represents: features or samples ?
I understand that PCA projects samples on an orthogonal directions to maximize variance of their features.
So, I understand that, having an image of sh... |
I have to solve this limit using the Dominated Convergence theorem ( https://www.math3ma.com/blog/dominated-convergence-theorem ).
I'm not sure what to do with that "n" before the integral.
What would the g function look like? Thank you!!!
|
Given a response variable y and three predictors A, B, and C, can all predictors have significant pairwise interactive effects on y without having a three-way interactive effect on it? In other words, given the linear model (expressed in R notation):
model1 <- lm(y ~ A + B + C + A:B + A:C + B:C + A:B:C)
can A:B, A:C, a... |
I'm trying to select between two models. 1. has a Truncated Normal likelihood and 2. has a Gamma likelihood. 1. has a much higher WAIC/LOO score but the posterior predictive in 2. (specifically the middle plot) looks much better to me as it excludes outliers. (Actually, this data is real and was not simulated, so I don... |
This is my first post here, so tips are appreciated for future posts!
For homework in my CS course I wanted to build a very simple Linear Regression Model (although this was not explicitly required) to determine slope m and intercept b given inputs with my code being so far:
import numpy as np
x = np.array([0, 110, 50... |
I am doing a econometrics assignments that asks me to evaluate the best panel data models for a production function.
I have the following R code:
data <- read_dta("prodfn_data_5_1.dta")
# Create panel data object
pdata <- pdata.frame(data, index = c("ivar", "tvar"));pdata
form = y ~ l + k
##########################
... |
I am working on an algorithm for recommender systems. I want to compare its results to another method. For this purpose, I need to apply a t-test on their results to see if there's a significant difference between them. Each sample consists of 27 float numbers, and none of the samples has a normal distribution. After e... |
Note: I'm happy to edit and rename the “question title” for this problem if someone proposes a better (and concise) way of asking about this problem.
In brief, the problem I'm presenting below was posted on this site (or maybe on mathematics), but it appears to have been hidden or deleted (it was most likely a homewo... |
Suppose I have the following scenario:
And I am aware of an algorithm to draw uniformly from (in this case) the 2-sphere. Does this same algorithm readily extend to the situation where I randomly take a "cut/slice" (shown in red above) and what points uniformly over this circle?
Further, suppose now that I have a unif... |
For predicting whether a subject has liver disease or not, I'm using StratifiedKFold CV in GridSearch for AdaBoost and RandomForest Classsifiers.
For Outlier anlaysis, I've identified all feature outliers and extracted their row indices on full dataset but decided against dropping it since there might be some data leak... |
I have tried reviewing similar questions to this problem (ex1, ex2), but most of them do not seem to get at how to sample the data (if at all). I will try to outline my problem below:
I have plants that generally die (imbalanced data problem) and I want to predict how likelihood that they will survive.
Each day the pl... |
I have a standard reduced form VAR of type without intercept: $y_t = A_{1}y_{t−1} + \ldots + A_py_{t−p} + e_t$, $e_t \sim N(0,Σ)$.
I need to derive the predictive posterior distribution $p(y_{T+h}|y_{T} , \ldots, y_1)$ in the general case for $h=1,2,3,\ldots$ and define its moments.
I already exhausted many textbooks a... |
I'm working on a problem which requires a ROL model, the problem is R does not have much support for these in terms of packages and documentation. I want to fit a ROL model to partial rankings with time as a covariate. I've tried the PlackettLuce package (only works with subset rankings), the PLMIX package (has partial... |
Friends,
thank you for your help, I'll try to be concise:
I want to perform a Diff in Diff with three groups of US states: a control group, a group treated with policy P1, and a group treated with policy P1 AND P2 (both).
The basic model in my head:
$y_{s,t} = \alpha + \mu_{1}Post_{s} + \gamma_{1}P1_{t} + \gamma_{2}P2... |
As per my understanding, parsimonious regression model is the model that has less variables but with those variables I can describe the data best. Is it so?
Then what does optimal model imply?
I thought these two terms are same for model selection. But I read somewhere they are not!
Suppose, I have a simulated data whe... |
I'm interested in predicting when a customer will churn, after they've turned a certain age (in this case, age 18, but this could really be any number).
This piece is critical: given the domain being modeled, as someone gets older, their likelihood of churning should increase (this is domain-specific knowledge one woul... |
(Originally asked on Stack Overflow, reposting here after a commentor mentioned this is a better place to ask it.)
I have a seed germination study that I am trying to analyze. In this study I had 4 different media types (nutritious agar plus different vitamins/additives) with 40 plates each. Each group of 40 plates wa... |
I am currently performing some Cox regression models. The image attached shows a Schönfeld residual based on one of the cox models with a significant p-value which means that the proportional hazards assumption is violated.
Now I want to perform a cox regression with time-dependent covariates. In order to do so I need... |
We are given some commodity (steel, copper etc.) price predictions made by the following steps:
Finding the correlations between the commodity price data and macroeconomic indicators
Selecting a set of the indicators that are highly correlated with the commodity price data
Using the selected indicators as explanatory ... |
Suppose I have an estimator $\widehat{\theta}$ that is asymptotically efficient (for example, it could be the MLE of the mean $\mu$ and variance $\sigma^2$ of $Normal(\mu,\sigma^2)$). Suppose I also have $\widehat{\tau}=h(\widehat{\theta})$, where $h(\cdot)$ is a smooth transformation (in the normal example, an example... |
I often run into data that has effects that go across a wide range of scales and are roughly log-normal, yet also have normal error terms added in, occasionally making some terms negative. Is there some way to fit a distribution to this data? If I can do this, I can check whether this model makes sense numerically and ... |
I am reading https://epubs.siam.org/doi/10.1137/140964023, and I got confused by this part:
In the above, it is assumed that $m \geq n$.
If $m = n$, I can see how the above works.
$|| J \theta - y||^2 = (J \theta - y)^\top (J \theta - y)$, denoting with $\top$ transposition, and with $J$ full (column) rank we can fact... |
When attempting to model various phenomena, in practice, our model will usually be "wrong", but can still provide us with useful insights/predictions.
What methodologies can we follow to help us balance the ability to create a useful/informative mathematical representation of our phenomena with the "trueness" of our mo... |
I popped 7 bags of popcorn in 30 second increments and found the percentage of popped kernels in each time frame.
I manipulated this data with sinusoidal, exponential, and cubic models. There is lots of debate surrounding the sufficiency of using r squared to comparing the goodness of fit for non-linear regression mod... |
I'm trying to understand impurity metrics in decision tree learning, in particular the Gini impurity. Questioning one of the assumptions of Gini impurity has led me to another impurity measure which makes much more sense to me but I can't find much information about it online.
Say we have a classification problem with ... |
I have been provided a table of regressions of an AR(1) model and asked to calculate the PACF. I know that the PACF is the additional information about the process y_t accounting for the previous lags. So PACF(1)=ACF(1)=0.6933. But I'm not sure how to calculate the other PACFs?
I can't find a formula or explanation any... |
Give a example of discrete random variable for which mgf $M(t)=E\left(e^{tx}
\right)$ does not exist . I have tried with geometric(p) distribution when $(1−p)e^t≥1$
, the mgf does not converge. Is it correct approach ?
|
I did random oversampling to handle unbalanced positive and negative data. When I didn't do random oversampling, the accuracy I got was 88%, when I oversampled the train data, it got 87% accuracy and when I oversampled the train data and tests, the accuracy was 84%. Here's the oversampling code:
from collections import... |
I am calculating the correlation between the scores a radiologist attributes to an MRI image (discrete 0,1,2,3), against the continuous quantification of disease (continuous between 0 and 1). I see a lot of cases where I ask radiologist why he has attributed for example score 1 and he says he has been too much sensitiv... |
It is well-known that lower bounds on the nonparametric regression convergence rates under Gaussian (and more general unbounded) noise assumptions are given by $n^{-\frac{\beta}{2\beta + d}}$ in the $L^2$ case and by $(\frac{n}{log(n)})^{-\frac{\beta}{2\beta + d}}$ in the sup-norm case (see papers by Stone (1980,1982))... |
I am interested in the conditional distribution of the sum of a uniform random variable and a constant.
Let $X = d + \epsilon_d$.
$d$ is the true measurement value.
$\epsilon_d$ is the error in the measurement such that $\epsilon_d \sim U(-0.5, 0.5)$.
$d + \epsilon_d > 0$.
How would one derive the conditional probabili... |
Let $X = B * [(u + \epsilon_u) - C]$.
$u$ represents a true measurement value.
$\epsilon_u \sim U(-0.5, 0.5)$ represents the error associated with that measurement value.
$u + \epsilon_u > 0$.
$B$ and $C$ are constants where $B,C > 0$.
Let $Y = d + \epsilon_d$.
$d$ represents a true measurement value.
$\epsilon_d \sim ... |
A little background. I have a territory in which I've recorded the position of 10 individuals at regular 5-minute intervals. This territory is divided into 3 zones A, B and C. Around this territory are two zones accessible to visitors, V1 and V2.
Each line of my df corresponds to a 5-minute interval, and my variables a... |
I have read papers that have used this model for the imputation method.
Link: https://ivivan.com/papers/IOTJ2019.pdf
I want to read more and be able to use these models for the imputation of my own datasets. Can someone provide relevant documentation?
|
Apologies if this is an elementary question - within-person designs are not my forte, and I am more used to designs in the quasiexperimental econometric tradition.
I have two designs that are the same in terms of the question I am asking here, where (to use a proxy case) I'm basically asking people if they like 10 diff... |
Dear statisticians and enthousiasts,
I'm writing my master's thesis and am dealing with an issue trying to assess the effect of my continuous predictor variables on my partially 'missing' dependent variable. A summary of the problem: My panel data matrix consists of predictor and control variables with annual observati... |
In statistics, we often assume that a particular variable follows a certain distribution. For example, if we know $Y \in \{0, 1\}$, then we can assume $Y \sim \text{Bernoulli}(p)$, since using the Bernoulli is really the only way to model a binary random variable. This assumption allows us to rely on tools such as logi... |
Let $(A,B,C)$ follow a multinomial distribution:
$$(A,B,C) \sim \text{MultiNom}\left(n=100,p_1=p_2=p_3=\frac13\right).$$
Define $X$, a discrete random variable as
$$X = f(A,C) = 2A + 3B + 4C = 2A + 3(100-A-C) + 4C = 300 + C - A$$
where $X$ has integer support from $[200,400]$.
If you wish to find the probability for $X... |
I do an exam with $12$ questions. There are $5$ possible answers to each of the $12$ questions.
Is this the expected number of correct answers if I guess answer for each question? $$\frac15 \times 12 = 2.4$$
p.s. I am not actually doing an exam and this isn't homework. This is check I understand how expected values w... |
Consider a multinomial distribution $[p_1, \ldots, p_n]$ and a collection of counts $[a_1, \ldots, a_n]$. I would like to know the expected number of multinomial samples needed until every element $i$ has been sampled at least $a_i$ times.
More formally let
$$
X_1, X_2, \ldots \sim \operatorname{Multinomial}([p_1, ...,... |
I have a robotic arm doing three different tasks, each task is colored differently as seen below. Data correspond to a Z-axis of the gyroscope sensor.
The idea is to detect anomalies. However, I need to know where the anomaly occurred as well, so I need to keep track of the tasks. I believe spotting the starting point... |
I am creating a neural network using batchnorm as a regularization method to enable deep models and prevent overfitting.
I understand that batchnorming supresses the internal covariance shift introduced by randomly chosen minibatches, so it generally makes sense to add it to every layer in the model. However, the batch... |
I was wondering what does a process $X_t$ with constant autocovariance $\gamma(h)\equiv c$ look like ? Is there something interesting to note about it ?
A particular case of this process is $X_t \equiv c$, in fact its auto covariance is given by $\gamma(h)=0.$ This case is of course not very exciting.
|
It is known that a stationary process (mean and autocovariance do not vary with respect to time and the 2nd moment is finite for all times) has a Toeplitz covariance matrix.
But is the converse true ? If a process has a Toeplitz covariance matrix, is it stationary ?
My guess is no, since we can just take a process $X_t... |
I anticipate acquiring a rather large data set, consisting of several data streams of complex waveform data generated by a single complex process, simultaneously measured at different locations, and a stream of measurements of an index of the quality of output from that process measured over the same period but at a mu... |
In the popular likelihood ratio test of goodness-of-fit (also known as the G-test: see, e.g., here), the test statistic is calculated as
$$G(\mathbf{O},\mathbf{E})=2\sum_{i=1}^{M}O_{i}\log\frac{O_{i}}{E_{i}} \tag{1}$$
where $\sum_{i=1}^{M}O_{i}=N$ and $\sum_{i=1}^{M}E_{i}=N$ are histogram counts of $N$ samples. I am in... |
I have a dataset where $X\in N\times1$ is the carats and $y\in N\times 1$ is the diamond price in USD.
I modelled the data using $$
y\sim\mathcal N(Xw,\sigma)
$$I removed the bias from the model so that at $x=0$, the price would be also $0$.
Now, I standardized the data by computing$$
\hat X=\frac{X-\hat\mu}{\hat\sigma... |
I am currently using the "seasonal" package in R to perform X-13ARIMA seasonal adjustment when I notice that the data I am analyzing have significantly larger volatility in recent years than in the past. As a result, the "seasonally-adjusted" time series does not remove the seasonality in those high-volatility years, a... |
I'm doing a psychological study where I am trying to find if different demographics (Gender, Age, Political Affiliation, Ethnicity, and Education level) have an effect on their susceptibility to the framing effect (measured on a 1-6 Likert scale). I will be doing this analysis three times, once for each question that I... |
Consider the i.i.d. sample $U_1, U_2 \cdots, U_n$ from the uniform distribution $U(0, 1)$. I should find a possible values of $r>0$ to have an asymptotic distribution of
$$ n^r \frac{U_{(1)}}{U_{(n)}}$$
It is possible to get through with its CDF, and I know how to get it from the joint PDF of order statistics: the CDF ... |
Hi all,
Im not sure how I am meant to workout the forecast with just this information. I have been able to find all the missing information (the cells that are filled white) through rather simple formulas, however failed to find the forecast (cells filled yellow). Do I need more information to workout the forecast?
Th... |
I have three ARIMA models by these output by R. After using auto.arima there is 3 models that R told me which (1,1,0), (0,0,1), and (1,1,1)
According to these models
how could I represent the syntax below to input the parameters into the models?
> fit110 <- arima(Diff1, order = c(1,1,0), method = "ML")
> fit110
Call:... |
I have a question about Bayesian statistics.
In a book called PML, I came across the following description of how to calculate the marginal likelihood of a beta-binomial distribution.
In the case of the betaBernoulli model, the marginal likelihood is proportional to the ratio of the posterior normalizer to the prior n... |
I have a logistic regression model, whose goal is to predict the winner of a sports match (a two-player heads-up game). I am using statistics from both players as features; using the difference between the statistics, instead of the raw values. For example, Person A's average running time - Person B's average running t... |
I was wondering if I could get some help with my problem.
I have a complex Markov chain where I cannot track its transition analytically. Instead, I decided to simulate $N$ numbers of particles for $T$ periods to get the particles' stationary distribution.
However, given that I have no theoretical benchmark to compare ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.