instruction
stringlengths
9
38.7k
In the R boot package, there is the option to output confidence intervals for bootstrapped estimates to be reported alongside the estimate itself, the estimated bias and the estimated standard error. CIs in the boot package are: normal, basic, percentile and bias-corrected/accelerated. Is there any particular setting(...
Currently I am using squared exponential covariance function for GP model construction for non linear model. It seems Squared exponential covariance work well however I do not have any idea which covariance would might work instead of squared exponential covariance functions. I am using matlab tool for GP model constru...
A large output layer is necessary for NLP tasks, where there are a lot of possible output classes such as words. How much more expensive is the normalization in comparison to the matrix multiplication required to generate $N$ outputs of the softmax layer? Both the matrix multiplication and normalization scale linearly ...
I am doing some testing on a univariate linear regression model, the data set looks like this (with a first order hypothesis: $h_{\theta}(x) = \theta_0 + \theta_1 x$): I tested several polynomials for the hypothesis, and obtained the training error and cross validation error for each polynomial degree: Degree Traini...
Most of the literature I have found on dynamic panels discuss difference GMM and system GMM estimators. See here for a brief description of these estimators. However, I have been unable to find material on the use of exogenous instrumental variables in dynamic panels. Assume we are estimating the following model: $\Del...
I'm train a Partial Least Squares Discrimination Analysis with caret package. My dataset dimensions are 80K rows, 50 continuous explanatory variables, and one response called Category (with 7 levels). labelName = 'Category' predictors = names(train)[!(names(train) %in% labelName)] model_pls = train(train[,predictors],...
I have 400 groups of data (different locations). Each group have between 5 and 200 samples. Each sample have only one categorical variable that can take a value among 4 possible ( 'a', 'b', 'c', 'd' ). I'd like to compare the distributions of the different groups. To do so, I need to discard the groups with very few sa...
I am deriving logistic regression's likelihood. I have seen two different versions: $$\begin{equation} f(y|\beta)={\displaystyle \prod_{i=1}^{N} \frac{n_i} {y_i!(n_i-y_i)!}} \pi_{i}^{y_i}(1-\pi_i)^{n_i - y_i} \tag 1 \end{equation}$$ Or this $$\begin{equation} L(\beta_0,\beta_1)= \displaystyle \prod_{i=1}^{N}p(x_i...
I was solving crude rates word problems and wanted to ask why in some questions the fraction was multiplied by 1000 while in other questions it was multiplied by 10000 and 100000. How do we know which one do we have to multiply it with? (it isn't even mentioned in the question if we have to find per 1000 people or per ...
Hi, i am fairly new on these forums, so please let me know, if information or formulation is lacking. My question is related to the picture i have linked. My problem is i really don't understand how the likelihoods of $\theta$ is derived and my intuition of likelihood functions is lacking a lot. Could anyone explain t...
I am trying to implement Bayes Factor for model and variable selection in Bayesian Linear Regression and finding out corresponding type I and type II error. I need your help regarding this. I will be highly grateful if anybody can help me in this regard. For a linear regression model, $$\mathbf{y} = \mathbf{X}\boldsymb...
I want to study a point pattern using cumulative NND (Nearest Neighbor Distance) "G" function . The main task is to test H0: the point process is compatible with a null model (can be CSR (complete spatial randomness) or other) I have see two options: Generate N point pattern under the null model. Calculate G function ...
This is to double-check a few general ML principles. Could anyone please confirm: Is the representation in the picture below "generally" correct? So are the following implications correct? 1) real life performance is generally much worse than training performance, when I fit the on a small training set. 2) real life...
I'm writing a thesis where I developed a script that generates NN and precalculates weights and biases to reduce a required number of epochs when I train a network. In my work, using examples I managed to prove the efficiency of precalculated weights and biases, but wondering, is there any other ways to reduce a requir...
I have a model that will evaluate the carbon footprint of a product (i.e. tally the greenhouse gas emissions that were generated in each of the activities required to make, use and dispose of the product). All the amounts of materials and energy inputs and emission factors are represented by PDFs. I would like to intr...
The conditional probability of event $A$ given event $B$ is defined as: $ P(A|B) = \frac{P(A \cap B)}{P(B)} $ In this definition, is there any constraint that events $A$ and $B$ should be associated with the same random experiment? Or can they be events associated with different random experiments?
I have a set of 460 survey responses of students evaluating their teachers' teaching style. Students are from different schools within several countries. I have separately identified that student evaluation scores differ significantly by both country and institution. The question is, then, whether region (such as Scan...
I have web UI event data representing various uses case scenarios with multiple data entry points. I would like to build some sort of DBSCAN, K-means Clustering solution to come up with user behavior segmentation so events can be split and grouped into different use case transactions. GUID, Time, User_ID, EventName ...
This is a part of the appendix to a past paper I have but it is just essentially R-Code. For the Mantel-Haenszel test, the p-value is greater than 5% so I would Fail To Reject the null hypothesis that there is no partial association at any level of the third variable. However, the 95% confidence interval [0.530 090 09,...
I am simulating traffic flow and have come across a rather interesting statistics problem that I'm having trouble wrapping my head around. I am modeling a stretch of road comprised of 2 lanes. Lets say for simplicity they head North for 500 feet. The lanes then diverge with the left lane moving West and the right lan...
First time using this website hopefully you guys could help me out. I'm in an Econometrics class and I am having great difficulty with practice questions as I've been away for a year and a half from Econometrics. Question a) I know that Bias=0 and variance = σ^2/n. What is the proof behind those answer that would suf...
I asked this question on Stack Overflow too but I'm not sure that's the most appropriate place since it might actually be a statistical issue and not an R issue. Sorry if cross posting is not allowed. I have contingency tables where I'm using a response variable with 15 categories combined with predictor variables with...
I am conducting analysis involving classroom data. I have a moderately small dataset with 22 classes and 280 total students. I'm trying to see if one type of lesson worked better than another, and if it there are gender differences. Does the following progression make sense? 1. Check the ICC to determine if hierarchica...
I almost always used Numpy's StandardScaler to normalize my data for machine learning. I noticed however that simply taking the log of the variables that I wanted to normalize often resulted in better accuracy compared to when I used the StandardScaler method. To give some more context, I built several binary classifie...
I'm looking to create an ensemble of CNNs for segmentation. Do you know how many CNNs I should have in my ensemble? Would I be tuning this or is there a general amount that I should have? I noticed that papers tend to have between 10-30 CNNs. How about 100? Or 1000? Are the limitations here just resource constraints? J...
I am considering two exponential probability distribution functions with mean equal to 5 and 3. pdf1=@(x)exppdf(x,5); pdf2=@(x)exppdf(x,3); I want to compute the pdf of the sum of these two densities using convolution: x=0:100; uh=conv(pdf1(x),pdf2(x)); Since the step-size of x is one, uh should be a density and the ...
The rarefaction curve is a very useful statistical tool for biodiversity analysis. It represents the number of species on Y axis, adjsted by individuals, samples (Gotelli & Graves,1996; Gotelli & Colwell, 2001) or even ponds (Gioria et al 2011) on X axis. Since X axis deals with distinct kinds of units, I was wondering...
I am trying to determine whether there is a difference between two treatments, in a response variable that was measured repeatedly over time. We know (from theory and observation) that the response variable increases monotonically but nonlinearly as a function of time, asymptotically approaching some maximum. It seems ...
In Goodfellow et al.'s Deep Learning, the authors write about recurrent neural networks on page 371: The total loss for a given sequence of $\mathbf{x}$ values paired with a sequence of $\mathbf{y}$ values would then be just the sum of the losses over all the time steps. For example, if $L^{(t)}$ is the negative log-l...
I am just trying to understand simple linear regression and I am not understanding why $\bar y$ is not constant. Doesn't $\bar y$ means means of all $y_i$'s and mean of anything is constant, no? I am not from math background so please bear with me. I am referring to regression line: $y_i = \beta_0 + \beta_1 x_i + \vare...
If we know the distribution of $X$ is symmetric, do we know anything about the shape of the distribution of $X^n$, where $n\geq 0$ but is not necessarily an integer? I'm not referring to the moments of $X$, but rather the distribution of its products (but more generally, raised to the $n$th power). Edit: as many have p...
I have a $P\times K$ matrix $\mathbf X$ with $K$ random vectors as columns (with the respective means subtracted from each entry). My goal is to decorrelate the columns of $\mathbf X$ via PCA to obtain the transformed matrix $\mathbf Y$ of the same size as $\mathbf X$. I proceed as follows: I form the $P \times P$ cov...
I am looking at the outcome scores of the WOMAC for the three studies included in the meta analysis, but I am having a hard time figuring out what the data means in Table III. Could someone help me figure out how to explain if the WOMAC Scores were improved by the intervention according to Table III and what the signif...
I have a simple example time series: Data: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2000 200.1 199.5 199.4 198.9 199.0 200.2 198.6 200.0 200.3 201.2 201.6 201.5 2001 201.5 203.5 204.9 207.1 210.5 210.5 209.8 208.8 209.5 213.2 213.7 215.1 2002 218.7 219.8 220.5 223.8 222.8 223.8 221.7 222....
Hopefully, someone could make sense of this practice question I'm trying to solve. In question 3 I understand that as $n$ approaches infinity $S_n$ almost surely converges to 0, therefore $S_n$ converges in probability to 0. I don't understand why question 4 states that it does not converge in mean square to 0. As $n$...
Is it mandatory to have a comparison group (one "tau" is coded as -1 and it does not have its own column)? If it is mandatory, can you explain why? I am trying to represent the model Y=Xb+e in matrices. I have an X matrix that is a 24x3 matrix and includes a column called "mu" that only has 1, a column called tau1 and ...
Is it true that if $X_1, X_2, \ldots ,X_n$ are independent random variables, then \begin{align} & f_{X_1,X_2,\ldots,X_n}(x_1,x_2,\ldots,x_n) \\ = {} & f_{X_1}(x_1)\times f_{X_2}(x_2) \times \cdots \times f_{X_n}(x_n) \end{align} (i.e. joint probability density of independent random variables is equal to the product of...
I have three independent continuous variables which are highly correlated. The dependent variable is a continuous one. In this case, should I apply three separate regression between each independent variable and the dependent variable since the independent variables are highly correlated The correlation matrix (...
The basis dimension (k) in GAMs allows for great flexibility in curve fitting. In my application having a large enough k is necessary to ensure GAM fits are monotonic. k = 20 encompasses a larger function space than does k = 10, for example. The term "basis dimension" could be potentially confused with the concepts ...
I am referring to the paper Finite-time Analysis of the Multiarmed Bandit Problem paper. The Theorem 1 in the paper is, Theorem 1: For all $K > 1$, if policy UCB1 is run on $K$ machines having arbitrary reward distributions $P_1,...,P_K$ with support in $[0,1]$, then its expected regret after any number $n$ of plays i...
After studying about the beta distribution I understood that the beta density function is used to find the densities for the probabilities. Densities may range from 0 to inf. That is if the density of any probability value is more we can say that the probability value is most likely to occur. But when coming to CDF of ...
I was recently constructing a confidence interval for the difference in population means of two samples ($\mu_A$, $\mu_B$). Both samples were taken from different populations (e.g. $A$ and $B$). It was assumed in the question that the standard deviation of both samples was equal. The 95% confidence interval for $\mu_A ...
Pearson residuals follow normal distribution. We plot them against predicted values to see if the model is good. Why would we plot deviance residuals against predicted values? Deviance residuals don't follow normal distribution, right? What's the point of plotting them?
In a deck of $n$ cards, 30% have white on both sides, 50% have black and white sides, and 20% of cards have black on both sides. The deck is then shuffled fairly and a random card is drawn and set on the table. If the card is black, then what is the probability that the other side is white? (Pitman's Probability, 1.4....
I was going through Poisson distribution and I understand the other assumptions made in Poisson distribution except for the last one which is: The probability of an event in a small sub-interval is proportional to the length of the sub-interval. Or The actual probability distribution is given by a binomial distributio...
I wonder if K = alpha*RBF can be a valid kernel satisfying Mercer's condition, where alpha >= 0 is a parameter. As the parameter alpha >= 0 is a non-negative number and RBF is already a valid kernel, so their composition should also be a valid kernel. However, the Gram matrix thus created, does not have diagonal elemen...
I would like to use CNN for time-series prediction problem. I have hourly solar irradiance data for 365 days. What I would like to do is training my network with 1 week data and predict next day. Training Data: Xtrain: Day-1 Hour-1 to Hour-24, Day-2 Hour-1 to Hour-24 ... Day-6 Hour-1 to Hour-24 Ytrain: Day-7 Hour-1 to...
I feel like there's no link between P(A) and P(A|B), where A and B are random events. For example, P(A) can be 0.3 and P(A|B) can be 0.9. However, I'm not so sure of this when P(A) is either 0 or 1. I mean: P(A)=0 => P(A|B)=0, for every random event B ? P(A)=1 => P(A|B)=1, for every random event B ?
I know that in longitudinal studies with multiple time point assessments, the fixed effect sample size is inflated and therefore the statistical power is increased. I read before, that the inflation happens by a factor of (1+(n-1)p), where n is the number of assessments after baseline and p is correlation between asse...
Mine is multiple choice science questionnaire. The correct answer is marked '1' and wrong '0'. The aim of the test was to find out what they know and what they don't know (pre test). The alpha is negative. How to interpret? Should I give easy questions that 60% of the students can answer? In that case how to identify...
The title is a bit misleading I suppose, so let me explain in detail what I mean. For the sake of argument, let's say that we have an experiment, where population is divided into two groups and both perform same activities, but group A uses our new drug and group B uses placebo. Now, when analysing the data, we notice ...
If two random variables $X$ and $Y$ are uncorrelated, can we also know that $X^2$ and $Y$ uncorrelated? My hypothesis is yes. $X, Y$ uncorrelated means $E[XY]=E[X]E[Y]$, or $$ E[XY]=\int xy f_X(x)f_Y(y)dxdy=\int xf_X(x)dx\int yf_Y(y)dy=E[X]E[Y] $$ Does that also mean the following? $$ E[X^2Y]=\int x^2y f_X(x)f_Y(y)dxdy...
This is a mixture binomial distribution question. I know how to get the $\mu$ and $\sigma^2$ of the mixture, but I am not sure how to use it to get the probably of specific number. Question: States that $X_1=B(2,0.52), X_2=B(3,0.41), X_3=B(4,0.38)$ are binomial distributions with 43%, 36%, 21% users respectively. Find ...
Unfortunately, I found only this paper on the matter: http://dx.doi.org/10.4103%2F0972-124X.75909 And this: Difference between logit and probit models. Can you tell me when, generally, I should use logit, probit, complementary log-log or negative log-log when performing an ordinal regression? (Or link me something whic...
I am running an analysis (in SAS, using proc corr fisher). http://core.ecu.edu/psyc/wuenschk/docs30/CompareCorrCoeff.pdf I basically want to know how different the correlations are on a daily basis for two groups with different variables. I have several variables on a daily basis for a variety of stocks (I compute pool...
Given a kernel, can we represent it as a Gram matrix? For example, a linear kernel can be presented (in Python/MATLAB code) in a Gram matrix as follows: K = X*X.T. If this is true, how to represent other non-trivial kernels in their Gram matrix form, e.g., check the following link, page 5, equation 17 showing Jensen-Sh...
I want to segment a sequence of RGB images (basically it's a video) based on their colors in real time. KMeans is an easy and intuitive algorithm to use in this case, but it's execution time is very sensitive to the clusters' centers initialization and to the number of clusters, and the algorithm conversion is not guar...
Consider a simple linear regression model \begin{equation} y=X\beta+\varepsilon \end{equation} where $\varepsilon \sim \mathcal{N}_N(0, \sigma^2I_N)$. The priors for $\beta$ and $\sigma^2$ are split in two parts as follows: \begin{equation} p(\beta,\sigma^2)=p(\beta|\sigma^2)p(\sigma^2) \end{equation} The natural conju...
In Goodfellow et al.'s Deep Learning, the authors write on page 203: Let $w \in \mathbb{R}$ be the input to the graph. We use the same function $f: \mathbb{R} \rightarrow \mathbb{R}$ as the operation that we apply at every step of a chain: $x = f(w)$, $y = f(x)$, $z = f(y)$. To compute $\frac{\partial z}{\partial w}$,...
I'm working on a small project which tries to predict what are the interesting words (for me) in a sentence. In order to achieve this goal, I use a Part-Of-Speech Tagger on a set of training sentences, then I manually create a training dataset using a User-Interface I built for this purpose. This UI, display one senten...
I have approx 450.000 strings in a csv file. It's part names, so the strings are normally based on one-three words. I need to somehow group them together in an automated way so I can work with these clusters instead of part by part. Here are a couple of random examples from the CSV file see above linked: CENTERING DEVI...
So my correlational results show that X is positively related to M (.70), and X and M are both negatively related to Y (-.52 and -.28). All three correlations are as expected, and when I run the 'X -> M -> Y' mediation model, the indirect effect comes out to be significant. However, I see that the regression coeffic...
I'm writing a thesis where I developed a script that generates NN and precalculates weights and biases to reduce a required number of epochs. I am using feedforward and recurrent NN, applying backpropagation and stochastic gradient descent optimization, tahn activation function These my input and target datasets. ...
I used step() in R to select a model. I found an data point with a high cook's distance and decided to remove it. After removing the outlier, should I used the current model or start again from the beginning and use step() again?
I have the following question suppose I have a data for men and women separately, I would like to model them in one regression , in this case I will have an indicator variable for them, and have one linear regression with the other covariates like age, hight, weight , and my dependent variable in Y . what is the differ...
I have a variable (Y) with a mean that is probably too high. (and large prop of participants scoring the maximum score) My hypothesis was that X-Y is stronger at high (vs. low) levels of the moderator M, but now I see that the interaction comes out to be significant but in a way that X-Y assocation is stronger at lowe...
Suppose X is a d-dimensional random vector where $X \sim N(\mu, \sigma^2 I_d)$. What is $\mathbb{E}[\exp(-\alpha \|X\|)]$ ,where $\alpha>0$? Since norm is not squared, it can't be factorized and we can't take advantage of independence. Otherwise, it was easy to solve. Any help is appreciated.
Let's say I examine the effect of two treatments on a dependent variable $y$. Let $y_{i1}$ be the value the variable of interest of subject $i$ for treatment $1$, and $y_{i2}$ be defined analogously. To find if one treatment was better than another, I can simply do a paired t-test. I'm wondering if the following is th...
Given $X,Y,Z$ with $X$ and $Z$ independent, is $\mathbb{E}[X\mid Y,Z] = \mathbb{E}[X \mid Y]$? This has come up a few times when working on a separate problem - I don't think it is true (memories from a course) but haven't been able to put together a counterexample. Intuitively, it seems that conditioning on $Z$ should...
I am learning about Kalman filters in Udacity's Self-driving Car Nanodegree. In one of the lectures on Unscented Kalman Filters (UKF) the state update equation is confusing me. The Filter in question is being designed to track a vehicle moving in 2-D space, under the constant turn-rate and velocity(CTRV) assumption. T...
I am interested in randomly generating multivariate normal distributions (MVND) as the underlying probability function to generate instances for a data stream. I understand that to do so requires two things (i.e. a MVND is parameterized by two things): A vector in the $n$-dimensional space representing where the MVND ...
When you use a model that has been trained based on the RBF (Gaussian) kernel, do you need to store the entire training dataset to compute similarity features? If so, why doesn't this decrease the efficiency of RBF SVMs, since you have your data to "carry around" on top of the weights? Or do you pick the training data ...
I don't understand why the test statistic of a two sided two sample t-test actually t distributed is. The test statistic is definded as: $T=\sqrt{\frac{n_1n_2}{n_1+n_2}}(\frac{\bar{Y}-\bar{X}}{\sqrt{\frac{1}{n_1+n_2-2}(\sum_{i=1}^{n_1}(X_i-\bar{X})^2+\sum_{j=1}^{n_2}(Y_j-\bar{Y})^2})})$ with $X_i$ and $Y_j$ normally d...
It may seems a very silly question for you but it is still quite unclear to me: What's the meaning of the parameters 'a' and 'b' presented in the Heffernan & Tawn 2004 multivariate model http://onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2004.02050.x/abstract ? What they do represent? Are they the location 'a' and ...
I run a cor.test(data) in R and get the following output: t = 1.3596, df = 315, p-value = 0.1749 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.0340665 0.1849804 sample estimates: cor 0.07637844 Now, while I see that cor > 0, there is some correlation, how exac...
I have three paired groups, let's call them A, B and C. I want to check if A's mean is statistically better than B and if A's mean is better than C. I don't care how B and C interact. I believe I should run paired one sided t tests. But it seems like if I want to have 95% confidence, overall, I can't use 95% for each...
I've created a data set containing title, abstract and keywords of scientific articles, I want to train a model to classify and assign keywords to a new article based on its abstract(for now I'm not including title). I've almost done the pre-processing(removing stop and single character words, stemming). Question 1: W...
I’ve trained a model to do a binary classification task, and I’ve ended up with a posterior over the parameters. I want to make predictions using the posterior over parameters rather than by using a point estimate for the parameters. My first thought of how to do this was to just sample from the posterior distribution ...
I am currently doing a research study about social media use and youth's well-being. My research questions are: How does the amount of time spent on social media affect the youth's well-being, How does the amount of social media following affect the youth's well-being, How does gender identity play a role in youth...
I have already collected data using a Likert Scale 1: strongly disagree; 2: Disagree; 3: Neutral; 4: Agree; 5: Strongly Agree. I later understood that "neutral" option should have been avoided in questionnaire scales. But for now, how do I treat the data from the "neutral" option? I transformed the neutral data from 3 ...
I believed that the boxplots below could be interpreted as "most men are faster than most women" (in this dataset), primarily because the median men's time was lower than the median women's time. But the EdX course on R and statistics' quiz told me that is incorrect. Please help me understand why my intuition is incorr...
In order to understand how to use and apply Propensity Score Matching(PSM), I read the articles "Some Practical Guidance for the Implementation of PSM" (Caliendo and Bonn 2008) and "Causal Effects in Nonexperimental Studies: Reevaluating the Evaluation of Training Programs" (Dehejia and Wahba 1999). One of the main hyp...
https://www.medicaljournals.se/jrm/content/html/10.2340/16501977-2210 I understand the difference between statistical significance and effect size, but I am having trouble interpreting the data on Table III in the article linked above. I am evaluating the WOMAC scores. My first question is can effect size confidence in...
Is there a closed form for $\sum_{i=a}^{b}\frac{{{i} \choose{n}}^2}{i}$?
I have a question regarding the definition of a uniform distribution for a bivariate random vector. For example, I am doing a few exercises and the premise of the questions are as follows: Let $(X, Y)$ be a random vector and suppose that it has a joint uniform distribution over the square $(-1, 1) \times (-1, 1)$. ...
In the Wikipedia article on the t-distribution (https://en.wikipedia.org/wiki/Student%27s_t-distribution), they define the random variable - $$Y = \frac{(\bar{X} - \mu)}{\frac{S}{\sqrt n}}$$ Where $\bar{X}$ is the sample mean (of a distribution that is normally distributed) and $S$ is the sample standard deviation. C...
Kaplan meier curves are usually calculated for survival probabilities over time. Is it valid to calculate kaplan meier curves for survival probabilities over other continuous variables e.g. over height, over levels of a biomarker? Thanks
I have about 1500 cases with 400 missing rows from variables to variables. I want to randomly select 200 cases for regression so I purposely select the valid cases out from the spreadsheet without missing data.... then I randomly select 200 cases to run. Does it violate the randomization in this case? Or I must have ...
Doing research on how to approach a problem I'm working on with text data. The gist of online advise I encountered was to cluster my corpus to create labels and then to build a classifier such as e.g. XGBoost based on the newly created labels from clustering. I sensed it was frowned upon to use the cluster object to cl...
I plotted a learning curve having number of training examples on X-axis and classification(binary) accuracy on Y-axis. Now I want to extrapolate the curve to find a measurement of training set needed to reach certain accuracy level. I heard the increment in accuracy with training set size is often logarithmic and I nee...
I have a question regarding binary logistic regression. My DV is dichotomous (0=no, 1=yes), and I have 9 predictor variables (dummy-coded & scale). If I do for each predictor one regression analysis, some of them are significant. But as soon as I enter one predictor with other predictors, they loose their significance...
Say a random variable $Y$ is affected by both $X$ and $Z$, in the following way (data generation process): $$ y_t = a + bx_t + cz_t + \epsilon_t $$ where $\epsilon_t$ is a white noise. Furthermore, say that, in a given period for which data is available, the behaviour of $X$ and $Z$ is such that $$ x_t = -\frac{b}{c}z...
I would like to make a Tic-Tac-Toe game with 10X10 board and I want to have 2 agents playing against each other and learning to play from interaction. A naive approach could be taken - to simply let agents learn as if the other agent were stationary and thus part of the envidonment. However, I think this would work on...
I am bit new to research data analysis and SPSS software. So I am bit confused if I am doing it in right way. Survey(with companies) My company believes that xyz with help in doing abc action 1 2 3 4 5(likert) Hypothesis H0= companies do not believe that xyz with help in doing abc action H1= companies do believe t...
all of my data is being collected from an online questionnaire. two of the questions will act as independent variables and will allow me to sort the respondents into groups for analysis. I will have 4 groups to compare during analysis (group 1: yes to Q1&Q2 group 2: yes to Q1, no to Q2; group 3: no to Q1&Q2 group 4: no...
I have been studying Simon Wood's excellent book to aid my understanding and analysis of GAMs to my data, in addition to looking at some application papers of mgcv. The gam.check() function outputs both visual and numerical data. In gam.check(), EDF < k. I am using k = 20 and doubling the value as needed. Here is my o...
Let $X,Y$ be real random variables with finite variances, and with no loss of generality assume $\mathbf{E}[X] = \mathbf{E}[Y]=0$. For simplicity, I will focus on the case $\mathrm{Var}X \neq \mathrm{Var} Y$. Part 1: OLS Naïvely, we could perform OLS by doing $Y = \beta X$ and obtain the standard $\beta_{OLS} = \rho \s...
I ran a repeated measures anova on my paired data groups A,B, and C. It rejected the null hypothesis. How do I compare two groups? Can I use two-way paired student t tests?
I'm currently tackling a problem of the following type: Using machine learning to predict the output of factories given ten years of data (once a year every year). I have about 25 features including some qualitative (e.g. country, produce) and around 10,000 rows. My problem is that I'm not sure how to tackle the time s...
In the paper “TWEEDIE’S FORMULA AND SELECTION BIAS” the author Bradley Efron said the MLE can cause selection bias, which confuses me a lot. We suppose that the statistician observes some large number of estimates $z_i$, each with its own unobserved expectation parameter $\mu_i$. The largest few of the $z_i$'s are li...