instruction
stringlengths
9
38.7k
Consider a random polynomial $p(z)=\sum_0^n A_i z^i.$ where $A_i,i=0,12,3,..,n$ are iid uniform variables in the interval $(0,1).$ I want to show that that the probability of the root with min modulus lying outside the unit disc approaches 0 as the degree becomes larger and larger.That is,the probability that all roots...
This seems like it should be a really simple thing, so I apologize if this has been answered elsewhere, but I've browsed dozens of existing questions and none seem to fit exactly. Suppose I have two cohort groups, control and target. I apply a treatment to the target, and want to use DiD to compare conversion deltas b...
Why do the standard errors for gamlss are much lower than the standard errors from lmer? library(lme4) library(lmerTest) library(gamlss) fit <- lmer(Reaction ~ Days + (1|Subject), data = sleepstudy) summary(fit) # Linear mixed model fit by REML. t-tests use Satterthwaite's method ['lmerModLmerTest'] # Formula: Reactio...
I want to run a simulation study and I need to simulate data from the Conway–Maxwell–Poisson distribution. However, it seems like the probability mass function is not available in closed-form, so, I do not know how to simulate from this distribution. Is there a method that I can use to simulate from this distribution?...
I am trying to understand how to apply SPRT to the following case. Random variable $X$ is exponentially distributed according to $f(x, \theta)$. Test the following hypotheses $$ H_0 : \theta \ge \theta_0 $$ $$ H_1 : \theta < \theta_0 $$ However, ever example I have found of SPRT uses hypotheses for the form $H_0:\theta...
I am using the multiple linear regression to work out if the glycaemic variables would influence my outcome while holding the body weight and menstrual cycle constant. Here's the thing, for these glycaemic variables, I've measured several related factors, such as glucose peak and glucose nadir, which are highly correla...
I am new to statistics and a beginner in DLNM. I am trying to understand the different functions of DLNM. In the 'crosspred' of DLNM, the exponentiated regression coefficient from the Poisson models, exp(fit), is the relative risk/rate ratio (RR), while with GAM, exp(fit) is at the original scale of the response variab...
So I'm a 3rd year undergraduate doing my thesisin football score models right now. In my thesis I want to include a proof of what the link function for the Poisson distribution is and why it relates the mean to our linear predictors. I'm almost there, but there is one part that most literature seems to gloss over. So w...
Sample $(X_1, X_2,\ldots, X_n)^T\sim{\mathcal{N}(\textbf{0}, \Sigma)}$. What is the expected cross-sectional variance of $(X_1, X_2, \ldots, X_n)^T$? In other words, if $$ S^2 = \frac{1}{n}\sum_{k = 1}^n \left(X_k - \bar{X}\right)^2\qquad\text{and}\qquad \bar{X} = \frac{1}{n}\sum_{k = 1}^n X_k, $$ what is $E[S^2]$? As ...
Goal: I am trying to compare the proportion of participants who choose one of the combined options (A-B and B-A) in questions where they see A-First vs questions where they see B-First. Data: I have data that looks like the following table. Each participant answers 3 questions. For each question, they have 3 choices: A...
Consider a general problem where we try to model an output variable $Y$ with several independent variables $X_1$, $X_2$, $X_3$, etc. that are binary or continuous. From previous study, we know that the values of the continuous variable $X_1$ are affected by a binary variable $Z$ but the $Z$ has no effect on the output....
I was recently at a seminar where a statistician used chi-squared divided by the degrees of freedom (DF) as an assessment of model performance in a logistic regression. They suggested that having a $\frac{\chi^2}{DF}$ close to 1 suggested good performance in the model. I am having some difficulty googling more informat...
When we have categorical features in a regression (say a generalized linear model for now), it is typical to let one category be subsumed by the intercept and then code binary indicator variables for each of the remaining categories, so “cat” could be subsumed by the intercept, “dog” would be coded as $(1,0)$, and “hor...
I have weight as response variable which is continuous variable. And 3 explanatory variables viz; Parity(Count), Age(continuous) and Sex(Factor). I want to fit a glm model using deviances analysis to select the best model from all possible plausible model. The models are nested. How do I go about it pls. Knowing that t...
I just recently started working with logistic regression, and I'm struggling with the interpretation of the results. Say I have brain disease (BD) as an outcome and gestational age (GE) as an explanatory variable. The OR is 0.99. I have used R to calculate this: gl1 <- glm(BD~GE, data, family = "binomial") How do I kn...
I recently came across a setup of differences-in-differences which I have previously wondered about, but had not seen before in a published study. Consider the following setting: Outcome: measured at the monthly level (e.g., employment rate) across multiple units (e.g., states). Data is available across multiple years....
I have a dataset where the first 6 columns correspond to binary entries referring to sick/not sick and 2 additional columns with age and a specific score (dim of the dataset 60x8). I need to generate a correlation matrix from the data. My dataset is pretty small (60 observations) and it doesnt follow a normal distribut...
I've encountered an interesting discussion at work on interpretation of precision (confusion matrix) within a machine learning model. The interpretation of precision is where there is a difference of opinion so my description centers a little bit simplified around precision. The problem discussed with some numbers for ...
Could you please help me to prove the following equation: $$E(x^{-1})=\int_{0}^{\infty}M_{x}(-t)dt$$ Where $M_{x}(-t)$ is the moment-generating function. I think the following equation will be useful: $$x^{-1}=\int_{-\infty}^{0}e^{ux}du$$ for $x>0$
I have a question similar to the ones described in the forum here (http://www.sthda.com/english/wiki/chi-square-goodness-of-fit-test-in-r). I want to know whether one sex is more common than the other at a study site. Unfortunately, I am dealing with a very cryptic species and my sample size is less than 5 for each sex...
I have a question that probably will sound stupid, but I am approaching myself to statistic concepts. I saw that the multivariate standard normal has a distribution characterized by the parameters $0$ (that is, a vector of 0s) and $I$ as a matrix of variance-covariance. I understand the fact that each marginal has mean...
So I got this basic concept of deterministic and stochastic trend. $$\begin{align*}\text{Deterministic trend (DT)} & : y_t = \beta t +\varepsilon_t\\ \text{Stochastic trend (ST)} & : y_t = \beta +y_{t-1} + \varepsilon_t\\\end{align*}$$ But when I'm using actual data for a ARIMA model, is it possible to identify precis...
I hope you're doing well. How do we use this expression of generalised partial correlation coefficient? I struggle with putting it into work in practical examples of multiple regression models. We have the following model : y = B1+ B2x2 + B3x3 + B4x4 + B5x5 + mu Say we want to find the expression of r14.32, the 2nd or...
I am comparing two treatment groups and I have 3 different types of outcomes. The dependent variable, treatment, is time dependent and so I conducted time dependent cox regression for each of the three outcomes. However, for one of the outcomes, one treatment group had no events. Of course, the cox regression output f...
Wondering if someone can help clarify my intuition on this. Say you have a continuous covariate and a binary grouping variable and you introduce an interaction term between the two in a basic regression model (continuous outcome). Say the interaction term from the model output is not statistically significant, but sugg...
I have a set of vectors $x_i \in\mathbb{R}^m$ and a similarity function f that quantifies how similar $x_i,x_j$ are. Unfortunately, calculating f takes a lot of time. I want to use some neural architecture A s.t.: $A(x_i)\in\mathbb{R}^n$ where $n<<m$ Euclidian Distance between $A(x_i),A(x_j)$ will output similar resul...
I would like some help proving this expression of partial correlation in terms of student's t : r(yx.efd.....p)² = t²/[t²+n-k-1] Can you please direct me to a source explaining how to go about this? I just don't know how. I'm not a spammer or anything. This question was previously deleted, can I understand why? Many th...
I am currently faced with the question. Do I include the variable XY reflectively, formatively or as a scale value in the model? Theoretically, there is a lot to be said for a formative measurement model, since it is primarily knowledge that is being asked about. Now, the scale was determined by the authors using a fac...
In the Survival vignette entitled "Spline terms in a Cox model" https://cran.r-project.org/web/packages/survival/vignettes/splines.pdf on page 3 there is this graph: The plot is showing the effect of Age which was fitted as a spline term in a Cox model. In this plot, the centering was set at age = 50, so the y axis is...
In my stats class, we are talking about the 2 proportion $Z$-test, which compares two sample proportions. The test statistic is given as: $$ Z = \frac{\hat{p_1}-\hat{p_2}}{\sqrt{\hat{p_c}(1-\hat{p_c})\left(\frac{1}{n_1}+\frac{1}{n_2}\right)}} $$ My question is, is there a good way to visualize this operation? I can un...
Let us say, we are tasked with setting (average/list) prices that are likely to convert for heterogeneous products (e.g. used cars of all shape and sizes - made up example!). Let us also say that we only use one feature: miles per gallon for target encoding with respect to the target prices achieved sales in the last ...
Why do we need normality test if the sample size is large enough and hence, the distribution of the sample mean is approximately normal based on central limit theorem?
I would like to determine a partial correlation from fixed effects in my linear mixed models. If i would run a model for example $Aij = \beta_0 + \beta_1X + \beta_2Y + \beta_2Z + ui$ + ϵij Can I calculate a partial correlation coefficient for the $\beta_1$ to $A$ using the formula $r= \beta_1 *(var(\beta_1) / \text{sd...
How can I obtain the Variance-Covariance matrix of estimated coefficients, $\hat{\beta}$, which are a result of some GLM (solved for example using IRLS. Is there a reference you can direct me to? In R the function is vcov however, it does not detail the computation. Bonus points, if there is an easy way to obtain it us...
I am using R and have based my analysis on the book by Hyndman, R.J., & Athanasopoulos, G. (2021) Forecasting: principles and practice, 3rd edition, OTexts using the fpp3 package (https://otexts.com/fpp3/) The aim is to estimate number of averted cases after the implementation of an intervention. I have fitted an Arima...
I know about the bias variance tradeoff such that with higher variance we have less bias and vice versa. But what is the relationship of this tradeoff? Is it just an exact inverse proportionality i.e $bias\propto 1/variance$? Second part of my question is what factors cause high variance in our model? I know that multi...
Here is a simple example in R using the iris dataset: summary(lm(Sepal.Length ~ Species, data=iris)) Output is: Call: lm(formula = Sepal.Length ~ Species, data = iris) Residuals: Min 1Q Median 3Q Max -1.6880 -0.3285 -0.0060 0.3120 1.3120 Coefficients: Estimate Std. Error t va...
I am currently doing a nested cross-validation for lasso regression to determine the best lambda value. I am using the mlr3 package with the documentation from https://mlr3book.mlr-org.com/optimization.html#sec-nested-resampling In the example, the hyperparameters selected and tested on the outer fold were: iteration ...
I want to get a deepened understanding of random effects models and how they compare to fixed effects models. While there are some great answers already given by the community the following question remains unclear to me: Broadly speaking one could say that before analyzing values across different units of analysis, ea...
I am trying to understand a model, and I feel a bit stuck and I think I am missing something easy and fundamental. The model in question is rather strange and of the form $$ f(x_1,x_2,...,x_{n-1},x_n) = C_0 (1+x_1C_1) (1+x_2 C_2)... (1+x_{n-1}C_{n-1})(1+x_2C_n) $$ the variables ($x_i$) are mainly categoricals (i.e. one...
I am running linear mixed models analyses for the second time. My categorical variable random1 for group is a dummy variable (1-0), and the output has this error: b Parameter is set to zero because it is redundant. How can I interpret my results? Do I need to fix my data/coding to get reliable results? Why do I enc...
this question is similar to another on this platform, but that one adresses the general question of rooting the variance, while this question is about rooting d.f. - furthermore, that question has an elaborate answer which is too complex for me to interpret.. So, generally to get the std.dev., the square root of the va...
As a start- I appreciate any advice you can offer me with this question, and want to thank you for your assistance in advance. I have A-level maths knowledge, although did not like statistics. Statistics are not in my daily activities and this is the first time I have attempted to conduct statistical analysis in over 4...
I am working on a binomial mixed model. I want to analyse the use of a certain construction by students. My response is CONSTRUCTION (two levels: THAT/NO_THAT). My predictors are both categorical (type of INSTRUCTION with five levels (A, B, C, D, E) and L2 with three levels (Italian, Spanish, French). I am using lme4 a...
I'm trying to understand the differences between RNNs and State Space Models (SSMs). I know that SSMs can take on different definitions depending on who you ask, but here I define it as in Learning Latent Dynamics for Planning from Pixels. Although this paper is about a new method, they do compare the graphical models ...
I was wondering how I would report this? My ANOVA is significant but when I look at the model and the different predictors, there is no significance?
I'm currently trying to decide what test to run on SPSS for my data. I am comparing the effects of 3 different interventions on trauma scores. I have both pre and post-scores.I have created a difference score variable and will use this to run a one-way ANOVA. I'm trying to run normality tests to see if I instead need t...
The max entropy method is a way of deriving a probability distribution given only the information you know about how the data is distributed and nothing more. For example the normal distribution can be derived by constraining the mean and variance to be fixed. This is a very intuitive and principled way of choosing ho...
I'm attempting to implement an adaptive kernel Kalman filter following this paper https://arxiv.org/abs/2203.08300, but I'm struggling to find a method of evaluating the feature mapping for a polynomial kernel $K(x,y)=(x^{T}y+c)^{d}$ with the input (state) dimension is larger than 2. For the scenarios I inted to use th...
I know that input data is not of much use, but I still want to understand how are we going to split the data (in the decision tree) in this case (because all the features should end-up giving the same amount of information gain) Any thoughts on this?
For any distribution, we can substract two random variables and find the distribution of the difference. But what about the reverse? Can the below statement be true in general or under any condition for the distribution? For any probability distribution function, there exists another distribution such that the differen...
I have a problem where I want to predict "when is the next action happening" based on the time. Example problem: Imagine you have a dataset of transactions per user, your goal is to predict when is the user going to do another transaction. Minimal example data: transaction_id,user_id,last_transaction,next_transaction 0...
I made a lmer with an interaction between odour and concentration and random effect of date. I'm getting very high df in the emmeans output below. It's actually higher than the number of observations in my df (954). Why? Should I be concerned? Also, can I specify "side = '>'" when I do the dunnett trt.vs.ctrl instead ...
I have a binary dependent variable and a continuous independent variable. When I apply logistic regression to build the prediction model, I use p-value to know whether the independent variable is a significant predictor for the independent variable. I would like to repeat the same study using two other ML techniques: c...
My team is conducting a pre/post-intervention comparison of health outcomes in treatment and control groups, and the question came up whether it's a good idea condition/match on a deceased flag for subjects after the post study period. Instinctively, I know contaminating your model with future information introduces bi...
I am working with a dataset that has several variables querying time spent using media each day. Each variable queries a different type of media use, with the same answer options. An example question is, "how much time did you spend today talking on your phone?" The answer options are: a) < 30 Min b) 30 Min - 1 Hr c) 1...
In stochastic convex optimization, if $F(w) = E[l(w^Tx,y)]$, when l is a convex, L-Lipschitz loss function, it can be optimized using SGD such that $E[F(\bar{w}_T)] = \frac{1}{T} E[F(w_t)] \leq \min F(w) + \frac{RL}{\sqrt{T}}$ Assuming that $\vert|w\vert| \leq R$ when the step size is chosen to be $\eta = \frac{R}{L\s...
I am working on a survival analysis in R using the survival package (and trying to switch it to a Bayesian analysis but that may be a different question). Either way, I'd eventually like to incorporate time-varying covariates, so I'm trying to set the data up as a counting process. But, I'm getting a little lost in "ti...
For a dataset with mean = 67 and the standard deviation = 6, how could I find the p-value associated with the true population mean being 79 OR greater in R?
I wanted to know if one would require to check for the violation of ANOVA Assumptions before running an ANOVA model on a Big Dataset (size of the big dataset is 57 million rows)? Thanks!
Lets suppose I have three random variables: $X$, $Y$, and $Z$. I can use the Spearman Rank Correlation to measure the degree of monotonic relation between any two of them. However what if I want to compare the monotonic relation between $X$ and $Y$ to that of $X$ and $Z$ (i.e. answer the question: do $X$ and $Y$ have a...
I am running a Monte Carlo simulation that results in an heavy-tailed distribution. The image below shows the distribution of 1,200 runs of the Monte Carlo simulation, where each run consists of integrating over $M$ = 12,000 randomly drawn paths of $ \mathcal{X}_m = \left\{X_{n,m},s_{n,m}\right\}_{n=1}^N$. The quantit...
How to compare the effect of receiving treatment on a dependent variable measured using a Likert scale (0-7), using such data: # Group Rating at baseline Rating at endline 1 Treatment 2 5 2 Treatment 3 3 3 Control 4 7 4 ...
I have this problem to solve There are ten people in a class. Ari and Jamaal are twins in this class. At random, two people will be chosen as the class representatives. What are the odds that Ari and Jamaal will both be chosen? I can guess the solution For the first pick, there is a 2 out of 10 probability. For the s...
I’m doing some matching followed by difference-in-difference regression to look at the impact of a certain disease on people's income. The matching is done, and I’m preparing to go into the next stage, setting up a difference in difference regression and achieving double robustness by including the same covariates I us...
So I need to compare three linear mixed effects models using the anova function in R. My advisor oversaw me build the actual models themselves so I am fairly sure the syntax for the models themselves is correct but I get a weird result. Here is my data set for references structure(list(X = 1:6, sub = c("59917f16e339120...
Consider a well-defined function $\psi(x,\theta)$. Assume that it is a smooth function, differentiable, has a finite expectation and a finite second moment. $E\dfrac{\partial \psi(X,\theta)}{\partial \theta} \neq 0$ and is finite as well. The text book then provides the following hint: $E \sup \biggl({\dfrac{1}{n}\sum_...
I've just started practicum work for a SaaS company, and trying to build a customer attrition (binary classification) model for enterprise SaaS product with a target variable indicating whether or not a customer churned after their annual renewal cycle by encoding 1/0 based on their historical renewal status. At a high...
i have two layer with different layer sizes (hidden states) how can i perform encoder decoder type of attention on these layers if the layer sizes are different? because i will do dot product, how? Consider I have two layers: lstm1 = LSTM(20, return_sequences=True, name='lstm') lstm2 = LSTM(40, return_sequences=True, n...
I want to include both parent's education variables as control variables in my estimation about the effects of maternal bargaining power to child's educational attainments. They are stated as categorical variables ranging 0 for "not receiving educ" and 4 for "tertiary-level educ". Many previous papers in my topic have ...
I use variables, independent as well as dependent, which are inherently not normaly distributed. Exept a few "extremist", nobody score very above the mean on these scale, which are validated on peer reviews journals and widely used (e.g. rape myths scale). I ran an experiment with two experimental condition, measure of...
I'm working on a project in R where I'm looking at California's census tract-level demographic data in an explanatory logistic regression model. I have 6 demographic variables of interest: percent below 150% poverty line, percent minority, percent unemployed, percent disabled, percent with no high school diploma, and ...
A study followed 1000 patients for a 5-year period, but some patients may have been lost to follow-up or relocated during the study. The study's results indicate that: Kaplan-Meier survival rate at 1 year: 0.80 Kaplan-Meier survival rate at 2 year: 0.60 Kaplan-Meier survival rate at 5 year: 0.50 Questions: Is it val...
In the life table, two values are related to death. One is the death rate, by definition, $$ m_x = \frac{d_x}{n_x}$$ Another one is the probability of dying: $$ q_x = \frac{d_x}{l_x}$$ The numerator of these two formulas are the same, but the denominators are different. I cannot understand the difference between $l_x$ ...
I'm planning out a project that involves lattices in the order theory sense of "lattice". I am assuming the number of vertices is known ahead of time. Unfortunately I have only found resources related to lattices in a crystal or (undirected) graph embedding sense. As such it would not be difficult to sample uniformly f...
I have recently started learning about conformal prediction. I am a programmer without a strong mathematical background, but with a strong intuitive, applied background in statistics. I am trying to understand the intuition underlying conformal prediction and it is difficult to find good sources on this. Even the class...
As a graduate student, I have always used tools which calculate p-value for me and I kind of understand what it means. If p-value is 0.05, there is only 5% of chance that something happens naturally. To me, probability only makes sense when there is whole population or something that goes to "denominator". For example,...
I have data where we have longitudinal data for several users, so we have a case of repeated measures. The plan is to apply some classification or regression model. While there are other models suited to this like MLMs and GEEs, I'm interested in using predictive ML methods like the SVM, but within-subject correlations...
Assume a set of variables $x_1,...,x_p$ and their variable importance indices given by two different predictive models. Regardless of the importance metric itself (as long as we use the same metric for both models), I want to look at the ranking of their importance: which variable is the most important for model A, sec...
Assume two paired binary vectors, $v^A,v^B$. We can easily construct a contingency table looking like: $v^A_i=1$ $v^A_i=0$ Totals $v^B_i=1$ $a$ $b$ $a+b$ $v^B_i=0$ $c$ $d$ $c+d$ Totals $a+c$ $b+d$ $a+b+c+d=p$ Usually we infer using the $\chi^2$ statistic $$\frac{(\text{observed-expected})^2}{\text{expe...
I built a logistic regression, including the followed variables. And I tried to compare effects of temp among group and habitat using emtrends() in emmeans R package. I have 3 questions about the followed results. First, it feels like that there was type I error in the results. How can I figure out there is type I erro...
What is not right with a model that produces this kind of residual plot? Does it have to be discarded? My data is egg production (counts, but cumulative) over a period of 55 days for 7 treatments+control with 10 replicates each There are repeat measurements of the same individuals done over several days, and this is ac...
I have time series data for 50k customers.I want to forecast at a customer level. But the problem is it is not possible to train a ARIMA/ARIMAX model on each customer. Can I train a general time series model on the population which has an effect term for each customer? Or is it somehow computationally possible to have ...
In the section 15.5 of the book 'Machine Learning: A Probabilistic Perspective' by Kevin P. Murphy, it discusses the Gaussian Process Latent Variable Model. The log-likelihood objective function is given By $$l = -\frac{D}{2}\ln|K| - \frac{1}{2}\text{tr}(K^{-1}YY^{T})\tag 1$$ Where $K = ZZ^T + \beta^{-1}I$ and the gra...
n = 164 where Group 1 = 58, Group 2 =50, Group 3 = 38 and Group 4 = 18. The expected frequencies are 25% (41). Would it be appropriate to calculate an Odds Ratio if I wanted to compare Group 1 v Group 4? (58 x 41)/(41 x 18) = 3.22 Would this suggest it is 3.22 times more likely to belong to Group 1 versus Group 4?
I use factor analysis on a set of 15 survey questions (likert scales). Using the predict command (in stata) I make 5 factors. Subsequently, I want to use cluster analysis to see if there are "groups" of people with similar scores on the factors. I find it hard to know which distance measure to use (e.g. singlelinkage, ...
If I have an experimental group and a control group in a RCT; and I am trying to estimate the intervention effect on the dependent variables of the participants under control of several covariates using a multiple regression model (instructions, not by choice), should I include all cases from both treatment and control...
I am stuck on the first part of problem 8.2 of the book "A Probabilistic Theory of Pattern Recognition" by Luc Devroye: Show that for any $s > 0$, and any random variable $X$ with $\mathbb{E}(X) = 0$, $\mathbb{E}(X^2) = \sigma^2, X \leq c$, $$ \mathbb{E}(e^{sX}) \leq e^{f(\sigma^2/c^2)}, $$ where $$ f(u) = \log \left(...
In my research I am trying to estimate how the introduction of an electricity interconnector between two different markets (A and B) has affected the electricity price in market A. I would preferably differentiate the price effect between the export- and import hours, that should yield negative and positive coefficient...
I'm looking for a multivariable time series architecture that accepts multiple independent variables and produces multiple dependent variables. The context is sales forecasting given item, discount percentage and units sold. So if there were 100 items, a single time-step (row) would have 300 elements: [(item_token_1, i...
I have conducted a Bayesian Logistic regression, and I would like to compare 2 models : one model with one continuous predictor (M1) and one model without predictor (M0). The outcome is a binary variable. I have used LOO estimated of brms package. I find following results : Model comparisons: elpd...
This question is about a magic square generator, "relaxed" because it's only about one vector (row) in the square independent of all other rows; the individual elements are continuous and not integral. Constraints are $$0 \le i < n, i \in \mathbb{I}, n \in \mathbb{I} $$ $$0 \le v_i \le u_i, v_i \in \mathbb{R}, u_i \i...
I am looking at factors that are associated to changes in student's grades over time. My dataset consists of 45 students with Time 1 and Time 2 grades across 7 different subjects as well as characteristics about these students. As you can see in the below sample dataset each student will have 7 different scores. I want...
Yesterday, I asked how to conduct a Bayesian logistic regression in another post. I have been advised to use the brms R package. I have conducted this analysis, but being a beginner in statistics and coding, I need to know if my analysis is right. I have a data set with one binary outcome ("Object"). Participants had t...
I have read an answer there but still cannot capture the ideas behind it. In Sutton's book, section Value Iteration, it is said that In fact, the policy evaluation step of policy iteration can be truncated in several ways without losing the convergence guarantees of policy iteration. One important special case is when...
If I know that a disease has a 50% prevalence in a population, how many individuals do I need to screen for enrolment in order to get six individuals who are positive for this disease with 80%, 90% and 95% power?
I'm trying to solve this supply chain problem where I have to determine safety stock calculation for the components/raw materials that we procure... First I analysed the demand or consumption pattern of components and classified them into smooth, Intermittent, erratic and lumpy based on coefficient of variation and ave...
Consider a time series $\{Y\}$ and the forecast $\hat{Y}_{t+1}$ for the true value $Y_{t+1}$. Now consider the time series $\{y\}$, where $y_t \equiv log(Y_t)$, and the forecast $\hat{y}_{t+1}$ for the true value $y_{t+1}$. Are the functions $L_1(Y_{t+1}, \hat{Y}_{t+1}) = (logY_{t+1} -log\hat{Y}_{t+1})^2$ and $L_2(y_{t...
I have a group of covariates and individually they are balanced between treatment group and control group. It's well established that even if the covariates from the treatment group and control group are individually statistically balanced, they might be jointly imbalanced. (i.e. if I calculate $$T_n = Z_1^2+Z_2^2+...+...
I am currently interested in a specific supervised learning sub-problem. We have access to Data X and targets y as in traditional statistical / supervised learning. However both X and y are very noisy. Generaly speaking, X seems to be mostly characterized by its correlation matrice. We also have access to (slightly lag...