instruction
stringlengths
9
38.7k
I have a data set that includes 6 quantitative variables. In those variables, I have determined that each of LYMPHO and NEUTRO have statistically significant correlations with WBC. So the question I'm not understand is, "is it necessary to include both LYMPHO and NEUTRO as predictor variables in the regression model if...
Usually when creating a regression model using cross sectional data we assume a dependent and independent variable. but in AR,MA, ARMA and ARIMA models forecast based on the previous periods values or disturbance terms. What is the rationale for univariate time series modelling and why would one prefer to use a univar...
Suppose I have data that looks like this: The infected numbers usually average around 4-10 in both the control and test. Let's call these values A. The total numbers can be anything between 20-90 in both the control and test. Let's call these values B The null hypothesis is always there is no difference between the Co...
If I have a dataset consisting of binary data e.g. (0,1,0,1,1,0,1,1,1,0,0,1), can I use the Mann-Kendall test to determine if there are an increasing or decreasing number of 1's? (My question is less about wether or not this is the most appropriate test. I'm already also using gam(data ~ year, family="binomial"), which...
I'm working with a hierarchical design [Diagnosis(3 levels) -> donor(5 in 1 level, 3 in 2nd, and 8 in 3rd) -> Gender -> individuals], tested on different rounds for different measures (count data, duration data, ratio data). a sample of the data for R below. the goal is to test Diagnosis and control for different rand...
If our population regression function is ($Y = B_0 + B_1 \times X + U$) where $U$ is a disturbance term with $Var[U]$ = $\sigma^2$... How would one classify the following (random variable or not): $X_i$ $\hat{B}_0$ $\hat{B}_1$ $U$ $\sigma^2$ $Y_i$ It seems clear to me that $Y_i$ is a random variable because it has a ...
Are there useful techniques for making it easier to optimize a multilevel model where many groups have only one member without biasing results? I am fitting a negative binomial multilevel model with a two levels using glmer.nb in R. The equation is: $y_i = \beta X_i + \alpha_{j[i]} + \varepsilon_i$ ...
I'm running some data exploration and have a large ish number of variables with varying degrees of correlation and covariance. I'd like to start throwing out some variables I don't "need" according to the criteria that most variable and uncorrelated ones are my most important *** (I know this isn't true in general!)...
I am analyzing ARIMA or multiple regression model. $Y= X_1 + X_2 + X_3 + X_4$ Can I have the log on Y and square root on X1 and square root on X2, at the same time? That is, $\log Y = \sqrt{X_1} + \sqrt{X_2} + X_3 + X_4$ If yes, how can I interpret the results?
I'm stuck trying to find a way to compare whether or not a given intervention has a greater effect in one group (Kids < 5) than another group (Kids > 5). The outcome I'm comparing is the incidence of diarrhea in children receiving probiotics compared to controls. It is a meta-analysis involving 11 studies and I have de...
I need help understanding the results of Johansen cointegration test in detail. I found the results of a test performed in Zhang, Zhibai (2010), and would like to know where these values come from, as I need this for further analysis. Table 3 RMB misalignments influenced by different econometric component choices Varia...
If I have M classes, does it ever make sense to have a Gaussian Mixture Model with K>M components, with multiple components predicting one class? I see this as having multiple Gaussians learning different aspects of the data in a given class, and specialising in that particular aspect, but I'm not sure if I am making ...
Suppose I am having a daily unknown variable $y_i$ that can be modeled by $$y_i=\beta_0 + \beta_1x_{1i} +...+ \beta_kx_{ki}$$ where $x_{ji}$ are known for every day $i$. In order to estimate a model, I have daily $x_{ji}$ plus $Y=\sum_{i=1}^Ny_i$ available. $N$ will be something around 90, so I only observe the endog...
I have two groups/species and I have measured a certain variable at various distances (see plot). In particular, I have analyzed the correlation of this variable for each group between distance i and zero-distance. The error bars in the plot mark standard errors (StDev/sqrt(n)). As one can see, the standard errors over...
I am now working on a project that try to extend the LIWC dictionary to fit our local language (mixed English, Indonesian, Malay and Chinese). We use a word embedding model to find similar words to words in LIWC dictionary, then calculate score based on the new dictionary. The original output from LIWC dictionary looks...
Lets say, I am trying to Identify a particular fish in a lake using aspect ratio (lets assume that it has discriminatory abilities, and isn't central to the question being asked). I have estimated the ratio from multiple images of a video (this is why I am using aspect ration rather than absolute measurements) and have...
I am aware that there are algorithms to cluster categorical data, such as k-modes. However what happens when you miss-classify an observation? In contrast to numerical data, placing a categorical observation in a "wrong" cluster can be detrimental - if someone who has cancer turns out not to have cancer, for example, d...
what is the meaning of probability distribution function? I am struggling to understand it can anyone help me please
I have an LDA model trained on a corpus of documents. The output of the model is a distribution over topics for each document; an $M\times K$ matrix, where $M$ is the number of documents in the corpus, and $K$ is the number of topics. I am currently using the Jensen-Shannon distance to compare the similarity between di...
Suppose we have a test consisting of 30 questions, and 10 people take this test. The mean test score of these 10 people is 17, and the standard deviation of all the scores in the sample is 4. When reporting the descriptive statistics at school, we use these raw scores and write (M=17, SD=4); but in some cases I have th...
in skip-gram model we have for arbitrary value of k (window size) and every word occurence in corpus k-1 training examples, what if we could take each word, count output words occurences, transform it with softmax and then amount of training examples would be equal to amount of distinct words in corpus... what am I mis...
I was looking at the student's t distribution and was interested in the following conditional expectation: $$ E[X|X\geq t_v^{-1}(\alpha)] = \frac{g_v(t_v^{-1}(\alpha)}{1-\alpha}\left( \frac{v + (t_v^{-1}(\alpha))^2}{v-1} \right) $$ where X $\sim g_v$ and where $g_v$ denotes the standard t density with degrees of freedo...
Let's say I have two samples (pre-test, post-test) with $\mu_0$ and $\mu_1$. Their difference is significant at $\alpha=0.26$ (but not lower). If I understood it correctly that means that there is a 26% chance that there is no difference between the two distributions the samples came from and 74% that the post-test sam...
I would like some help in which type of analysis (ANOVA) would be the best for the following information: Tests dealt with whether a good or bad day tomorrow versus a good or bad day one year into the future is viewed as being better or worse. Subjects had to rate possible future events from -3 (most negative) to 3 (mo...
I have a set of measurements $\{y_j\}_{j=1...Y}$. $y_j = \frac{\sum_{i=1}^N x_{ij}^2}{N}$ where $N$ is unkown and all the $x_{ij}$ are independent normally distributed random variables, with known $\sigma$. How to estimate $N$? What is the variance of the estimate? Ideally, what is the probability distribution of the ...
I'm wondering why the delta method, , "is only used for asymptotic distributions", as @mpiktas write in this post: Variance of a function of one random variable, or as is written here: "The delta method is a general method for deriving the variance of a function of asymptotically normal random variables with known vari...
I understand that the Heckman approach can be used if the observation rule is static and thus can be estimated easily. However, I have a panel where simply the largest $y$ among all individuals in each time period is not observed. I.e., my data looks like this: y t ID x1 x2 x3 .. 1.3 1 1 .. .. 1.7 1 2 ...
Apriori algorithm finds some implication rules. Similar results are provided by Bayesian networks. What is the essential difference? What are the specific advantages/disadvantages? Edit: The Apriori Algorithm generates assotiation rules as a kind of implication, as can be visually inspected on the following picture (ta...
I have a dataset where for each individual there's a record for its behavior, being a state (with start and end times) or an event (duration 0, i.e. an instantaneous behaviour). Here is an example of the dataset. Some of these events can be simultaneous in time (e.g., you can sneeze while standing, or while sitting). ...
I have two stock prices with a strong trend which are non-stationary. I want to calculate the correlation between one stock say $x$ and another stock say $y$, but lagged 7 days back. Why should I have to decompose it? Can I just use the $x$ stock as an indicator of where the price of $y$ stock will be in 7 days?
I'm trying to predict a dependent variable, which is a result of some independent variables. There may be a number of independent variables at play, but if I can approach the problem with 2 independent variables then I should be able to scale to include the rest. Broadly, it's a resource problem. I have a required reso...
I am trying to fit a model in SAS that allows for both late entries (i.e. left truncation) and a time*covariate interaction. I can fit both separately: Late entries: proc phreg data=data; class exposure; model (start_time, end_time)*censoringvar(0) = exposure; run; Time-dependent covariate: proc phreg data=data; clas...
Suppose I have data $x$ and $y$, where $x$ is a count and $y$ is continuous. I would like to predict $x$ from $y$. Specifically, for my research question, $X$ can be viewed as being measured without error (it is fixed by design), whereas $Y$ is random. Below is my data $x$: [1] 1 2 3 4 5 6 7 8 9 10 $y$: [1] 1.0000 ...
I have a time-series dataset and I am a bit lost how to perform the analysis. I have an dedependent variable and about 2000 independent variables for some entity over a time period of about 2500 daily observations (like daily consume behavior of an individual over time for 2000 products). In fact, those 2000 variables...
Hi Cross Validated community, I have been reading answers posted previously on the topic of automated model selection and whether it is data dredging. This has led me to doubting the validity of my current approach. My question is: am I data dredging or dangerously using automated model selection? Here is the process....
I am wondering, if there is a negative correlation between Mean Squared Error \begin{equation} MSE = \frac{1}{n} \sum (\hat{Y}_i - Y_i)^2 \end{equation} and the number of explanatory variables. Intuitively, I would guess that more independent variables should be able to explain more variation in my dependent variable....
Suppose we have a binary outcome variable $y$ and we plot an ROC curve with a predictor variable $x$. What is the interpretation of this? An ROC curve plots the FPR (false positive rate) and TPR (true positive rate) across all thresholds. Here, we don't have any probabilities/thresholds.
Does anyone have any key words I can google, or links, for tutorials regarding how to do sentence segmentation using deep learning? The machine learning MLE method looks like so much work you may as well just use deep learning. Basic sentence tokenization using heuristics isn't proficient for sentences like: "He adds, ...
$X\sim \text{Binomial}(5,P)$ Rejection region $X ≤1$ $H_\text{null}: P=0.6$ $H_\text{alt}: P<0.6$ Find $β$ at $P= 0.3$ I understand that ($β$ = not in the rejection region/H alt. is true). But how do I find $β$ for $P$ at $0.3$?
I am trying to learn how to use Neural Networks. I was reading this tutorial. After fitting a Neural Network on a Time Series using the value at $t$ to predict the value at $t+1$ the author obtains the following plot, where the blue line is the time series, the green is the prediction on train data, red is the predicti...
I'm trying to find a linear model to correlate data from one type of sensor (B) to a more accurate type of sensor (D). In my dataset, I have readings from three sensors - two of type B (B1 and B2) and one of type D and I want a general relation like lm(D ~ B_Combined, data = dat) where B_Combined is the combined data ...
I have three sensors measuring the same parameter. Of these, one sensor (D) is more accurate than the other two which are both of the same type (B). I want to use sensor B for my experiments and then use some correlation to get an estimate of what sensor D would've measured - something along the lines of lm(D ~ B, dat...
A Bayes estimator is one which minimizes the Bayes risk. Specifically, if and only if $$\delta_{\Lambda} = \arg\min \operatorname{BR}(\Lambda,\delta) := \int R(\theta, \delta) d \Lambda(\theta) = \int \left( \int L(\theta, \delta(x))dx \right) d \Lambda(\theta) $$ where $L(\theta, \delta(X))$ is a given loss function, ...
I am trying to solve this question: Generate 500 data points drawn from each of 3 (three) Gaussians: $N_1(1, 0.1)$, $N_2(1.5., 0.1)$ and $N_3(2, 0.2)$ whose drawing probability on each iteration are $P(1) = 0.25$, $P(2) = 0.50$, and $P(3) = 0.25$. Can someone explain to me what the "drawing probability" is? I unde...
Kaggle's competition Porto Seguro's Safe Driver Prediction uses Normalized Gini Score as evaluation metric and this got me curious about the reasons for this choice. What are the advantages of using normalized gini score instead of the most usual metrics, like AUC, for evaluation?
I'm looking for a simple interpretation of order of approximation error. To be precise, I'm reading Azevedo-Filho and Shachter (1994) in order to explain how to use Laplace approximation for posterior approximation in a bayesian context, and it says that applying Laplace approximation gives errors $O(n^{-2})$, instead ...
I am currently studying binary classification modeling, and have observed that two target classes are typically used to encode target labels: 0/1 or -1/1. Why are there two encoding classes and what are the pros and cons of each?
Let $Z_i \sim \text{Exponential}(1)$, iid, $i=1,2, ..., n$ and let $Z_{(i)}$ be the $i^{\text{th}}$ order statistic. How can I find the pdf of $T=Z_{(n)}/Z_{(1)}$? (the ratio of maximum and minimum among $n$ random samples.) The pdf of $(Z_{(1)},Z_{(n)})=(x,y)$ is $f(x,y)=n(n-1)\ e^{-x}(e^{-x}-e^{-y})^{n-2} e^{-y} I(0...
To be precise, I'm checking this presentation https://kaybrodersen.github.io/talks/Brodersen_2013_03_22.pdf, but I don't understand what is the connection between Laplace method and variational bayes? I mean, I know perfectly what Laplace approximation does and its limitations, but I don't follow how it is connected to...
The universal approximation theorem is a quite famous result for neural networks, basically stating that under some assumptions, a function can be uniformly approximated by a neural network within any accuracy. Is there some analogous result that applies to convolutional neural networks?
I trained the random forest machine learning model with 100K records (overall 700k records) with 297 features with 100 trees library(randomForest) rf_model <- randomForest(as.factor(train$BILL) ~ ., data = train,ntree=100,importance=TRUE, nodesize = 1,norm.votes = TRUE, do.trace = TR...
Suppose that I have $X_1,X_2,X_3,...X_n$ iid random variables from a Poisson distribution of parameter $\lambda$. Given that $X_1 +X_2+X_3 +...+X_n = t$, what is the probability that exactly $k$ of $X_1,X_2,X_3,...X_n$ are zero? -- My approach: I started out by considering the joint probability mass function where $X_1...
This question involves fitting experimental data to a model. A physical quantity $u(x,t)$ is measured by two different methods, resulting in signals (observed values) $y_1$ and $y_2$. The models we are fitting to are $f_1(u; p)$ and $f_2(u; p)$, where $p$ is a vector of parameters being fitted. The models include calcu...
Exercise from mathint.com: "The probability that a student passes Mathematics is 2/3 and the probability that he passes English is 4/9 . If the probability that he will pass at least one subject is 4/5, what is the probability that he will pass both subjects? (We assume it is based on probability only.)" My guess woul...
I will be transitioning from a role analyzing purely observational epidemiological data to a role analyzing and designing clinical trials. I was wondering if you may have any recommendations for books to brush up on design and analysis of clinical trials? Thanks!
At my job I am working on standardizing some data. Right now we are simply using z-scores and it's causing some problems. For instance, one outlier has had three four or five standard deviation moves this week! It's clearly not right. The empirical distribution (pre-transformed) I'm working with has a kurtosis of 27 an...
Consider a multiple regression model $f$ (e.g. a random forest or neural network) where you try to predict a target $y$ given a two predictor variables $x_1$ and $x_2$: $$f(x_1, x_2) = \hat y$$ Let's assume the relationship between $x_1$ and $y$ is quite simple, but its relationship with $x_2$ is more complicated. For ...
I have a set of data points ($x_1,x_2,x_3 ...$) and would like to use the MLE estimator to fit a density function $f(x,a_1,a_2)$ to $x$, with some parameter $a_1, a_2$. Normally, to do MLE I calculate the probablility of each data points in the function given specific parameter values, and minimize the joint likelihood...
I am trying to do a 10 fold cross validation on a spam data set where the response column is in zeros and ones. The spam data set consists of 58 columns where the last column represents whether the entity is a spam or not. I have written the following code : library(rpart) library(caret) set.seed(110) spam <-read.table...
I just read this article on power analysis. I want to figure out the size of a sample needed to detect a 1% change in proportions for independent samples with a dichotomous outcome (see "Sample Sizes for Two Independent Samples, Dichotomous Outcomes" in the article for a quick description). The formula for sample size,...
down vote favorite Example 1. In a common situation, if we have the following data: library("irr") library("psych") a<- c(1, 3, 1, 1, 2, 3, 1, 1, 3, 1, 1, 1, 1, 3, 2, 1) d<- c(1, 3, 1, 1, 2, 3, 1, 1, 3, 1, 1, 1, 1, 3, 2, 2) df2<- as.data.frame (cbind(a,d)) cohen.kappa(df2) The observers "a" and "d" have assigned the ...
I have a data set including one continuous dependent variable, one categorical independent with 4 levels and one continuous independent variable. We are going to compare the average of the dependent variable among the levels of the categorical variable by adjusting the covariate. The problem is there is a huge...
Suppose $X_{i}$ for $i=1,2,..,n$ are independent random variables. Let their distribution be exponential with parameter $\lambda_{i}$ respectively. and $Z=min(X_{1},X_{2},....X_{n})$ and J= j where j is the index of random variable which is equal to Z . How can we prove that Z and J are independent ? My try at the sol...
What is the value of $a$ and $b$ that minimizes the $L_1$ and $L_2$ norm, respectively? $$ \min_{a} \mathrm{E} \left| X - a \right| $$ I was told that median is the solution. How do you solve it? Why can't it be the mean instead? $$\mathrm{E} (X - b) ^ 2$$ I was told that mean $\mu$ is the solution to the squared err...
In statistics, I see certain things described by "$n$-way" or "$m$-sample." For example, there is "$n$-way" ANOVA for any $n$ and "$m$-sample" t-tests for $m=1,2$. I want to get a handle on what these descriptors mean in general. It seems to me like "$n$-way" means that there are $n$ nominal variables, and that "$m$-sa...
Suppose that you have daily blood pressures for each person (call this variable $x$). The outcome variable is binary ($1$ if person will have heart attack and $0$ if person will not). Does it make sense to create an $x_{\text{sum}}$ variable which is the sum of the daily blood pressures to improve the predictive power ...
I was reading about Simple Random Sampling (SRS) from this lecture notes. It says that SRS, which actually is a sampling without replacement makes $x_i$ not independent. Then I thought about A/B testing. When doing A/B testing for a product feature, usually users are sampled randomly without replacement, put in one of ...
Asking for a "friend" (okay, I'll be honest, asking for myself). Currently working on an assignment maximizing likelihoods as part of Monte Carlo simulations to compare estimators and everything is good until... Compute the observed Fisher information at the MLE. Do you know another approximation to the asymptotic var...
I would like some advice please on a stats problem I am facing. I have a response variable $y$ and a set of explanatory variables $x_1, x_2, \dots x_6$. All variables are quantitative. My client is aiming to collapse $y$ into a small number of subsets (the number is not known for sure but perhaps 5) with each subset ha...
I am trying to estimate the distribution of a discrete random variable $X$ with a finite set of outcomes $w_1, w_2,...w_m$. I have access to a simulator $G$, that outputs a realization $x_i$ of the variable in the $i^\text{th}$ iteration of simulation. My estimates of the distribution, after $n$ runs of the simulation ...
I am working with sequential user data, where I am trying to predict the behavior of a user at a given time user_i_t I have historical data for other users, and their behavior over time, and I am wondering if the latent feature generation of matrix factorization works with time series, ie if I know the actions at every...
Why does the formula for population standard deviation not subtract 1 from the N?
After estimating the Lasso coefficients in linear regression. Should we expect that prediction is unbiased ? For example, for a new point $ (x^*,y^*)$, Should we expect $ E(y^*)=x^*\hat{\beta}$ to be unbiased ? Under the assumption that $\hat{\beta}$ is the Maximum Likelihood Estimator (i.e. we are able to reach the...
Suppose that we have a discrete random variable X with support S={1,2,3}, with probabilities of, respectively, 0.1, 0.4, 0.5. How could I find the PDF of Y if Y = (X+10)^2?
I am learning mixture model. I understand what does it means, but I still do not understand some contexts. I really do not understand the following: "The moments of a mixture random variables are linear combinations of the corresponding moments of the individual random variables." quote from" this site Any help please?...
I have some questions about pre-tests and post-tests: Can I have different items (questions) for pre-test and post-test? Or is it necessary to have the same item? Can post-test be used as a summative assessment? Can post-test be used to evaluate if the students have achieved the desired learning outcomes? Can you prov...
I have two, large, two- or three-dimensional samples. I have used implementation of multidimensional Kolmogorov-Smirnov test in R (named Peacock.test) to compare these two samples and calculate test statistic. Is it any method to check null and alternative hypothesis without using p-value? How can I determine if the te...
Let $$ X_1 \sim Beta(\alpha_1,\beta_1) \\ X_2 \sim Beta(\alpha_2,\beta_2). $$ Let $F_X(x) = P( X \le x )$ be the CDF of $X$ and $\mathbb{E}_{X}(\cdot)$ be expectation with respect to $X$. How to calculate $$ \mathbb{E}_{X_1}(F_{X_2}(X_1)) = ? $$
In all the (regression) random forest papers I've read, when it comes the time to gather the predictions of all the trees, we take the average value as the prediction. My question is why do we do that? Is there is a statistical justification for taking the average? EDIT: To clarify the question, I know it's possible to...
I have a lot of time-range values, simple statistics chart, but some time can meet wrong values, for example: [1000, 1010, 1025, 1005, 1, 1015] or [1000, 1010, 1025, 1005, 1030, 1, 2, 5] Can you advise any logic or algorithm to determine the wrong values? UPDATE: wrong values - values that will dramatically differ fro...
I am currently doing a self-study on Conditional Probability and faced the below question. A manufacturing plant makes radios that each contains an integrated circuit (IC) supplied by three sources A, B and C. The probability that the IC in a radio came from one of the sources is 1/3, the same is true for all sources....
My problem is this: I have an ensemble of predictors that each produces a distribution over a set of classes. What I would like to do is to first have a non-informative prior about how this label distribution looks like, and then update that prior with the prediction of each member of the ensemble. So I thought of usin...
I know the means of a few samples from a population. I also know what the sample size is for each sample. What is the best way to combine the sample means to get the best estimate of the population mean? I'm wondering if the square root of the sample size might be the weight. Edit after receiving two answers and a com...
I am trying to investigate the influence of Sex on the response variable Prop_new_trees (proportion data, No_new_used/Total_trees), with joey_number (a factor) as a covariate. Because I have proportion data I have been trying to fit a binomial GLM in R. > head(exp) Possum Sex Prop_new_trees joey_number No_prev_used No_...
I have to forecast some monthly timeseries 1.5 years into the future and then sum them up to get 3 semi-annual counts. The forecasts give forecast intervals, but how do I get from the 6 monthly forcast intervals to one semi-annual one? Is there some clear formula for that or a good estimate? Or would it be better to su...
I have five sensors measuring the same quantities (temperature, humidity, barometric pressure) at the same time. I also have reference measurements (from much more accurate sensors). What is the appropriate approach to validate the output of the five sensors in terms of how well they agree with each other and with the...
Using a linear model like OLS, the marginal effects are simply the coefficients given by $\beta = (X'X)^{-1}X'y$. However, in a nonlinear model, it is more difficult to derive marginal effects. For instance, in the logic/probit model, you typically compute the partial effect at the mean or the average partial effect. ...
Say that I have some observations, $y_1, y_2, ...y_n$ that are described using a generalized additive model (GAM). A Leave-One-Out Cross-Validation (LOOCV) is then performed where each observation $y_i$ is removed and then the GAM is refit to the remaining observations and the omitted observation, $\hat{y}_i$, is predi...
Problem statement Let $\mathbb{X} \subset \mathbb{R}^{k}$ and let $p:\mathbb{X}\times\mathbb{X}\rightarrow\mathbb{R}$ be a density kernel on $\mathbb{X}$. We assume the following model for the stochastic process \begin{equation} X_{t+1}\sim p(X_t, y)dy \quad (t\geq1), \end{equation} which defines a discrete time Mark...
I have a set of biologically relevant transcriptional regulatory networks which are bipartite with a set of transcription factors and the genes that they regulate. However, when I put my network on Cytoscape to get the centrality measures, average path length etc and treat the network as directed, I get a value of eith...
I am familiar with the concept of combining forecasts. In the simplest scenario, that could be just averaging the forecasts. For example, let's say I have three forecasts representing the likelihood of an event such as (35, 50, 40). The combined forecast would be (35+50+40)/3 = 41.67 (although I realize there are so...
Suppose we have three variables $x,y$ and $z$ and we want to create a new variable that tells us information about the relationships between these variables. So we would have: $$ w = 0 \ \text{if} \ x < z \\ w = 1 \ \text{if} \ x < y \\ w = 2 \ \text{if} \ y < z$$ Would this make sense?
I am analyzing data from a randomized clinical trial, with 2 intervention groups (placebo and intervention) and repeated measurements over time. I am planning to use linear mixed effects modeling to analyze this longitudinal data and determine whether the intervention causes a change in response over time compared to t...
Why is the following statement true: Information gain is biased towards variables with more outcomes? I've seen the following statement and close variants quite frequently: "information gain shows unfair favoritism towards attributes with many outcomes." I'm having a very hard time conceptualizing this in regards to a ...
below are two fundamental formulas in probability theory: Conditional Probability: $$P(A | B) = \frac{P(A \cap B)}{P(B)}$$ Independent Events: $$P(A \cap B) = P(A)P(B)$$ The derivation/explanation of the formula for conditional probability is given in Grinstead and Snell's "Introduction to Probability" book as follows:...
I used a 4 x 4 Latin square experimental design recently and have been advised that a cell means - rather than sum of squares - approach is more appropriate because I have an unequal number of subjects in each cell. I have found some information online which say I can fit a cell means model using the following: mod <- ...
Is it true that the Standard Error (S or Sigma_est) of a Linear Regression removes variability imposed by the trend in the data, which the standard deviation does not? Y is the Output, Y' is the predicted output from the regression and N is the sample size.
Concerning Ito's integral formula, $$\int_0^t B(s)dB(s) = \frac{1}{2}B^2(t)-\frac{1}{2}t,$$ the MIT lecture notes give a proof that "the standard Brownian motion has a.s. finite quadratic variation which is equal to $t$." A nice introduction by Karl Sigman notes that "since $$B(t_k)-B(t_{k-1})\sim N(0,t_k-t_{k-1})......
My linear regression model does not meet the normality of residuals assumption and the number of participants in each group is not well balanced. I have n=1370 participants and I included seven variables in the model (four of them are dummy codings of a five-level categorical variable). I am wondering if it is possibl...
When applying the feature scaling, what is the mathematical proof that the optimum of the mean squared loss function is the same in both without-normalisation case and with-normalisation of the features?