instruction
stringlengths
9
38.7k
Consider the problem of estimating the number of discoverable extra-terrestrial civilizations (in our galaxy, say), or the related problem of estimating the probability of discovering such a civilization in some given time frame. The proper way to make such estimations is via Bayesian statistics, where you have prior i...
Our statistical inference course material states the following: The principle of mean square error can be derived from the principle of maximum likelihood (after we set a linear model where errors are normally distributed) After that the material apparently shows this derivation over several pages of math equatio...
I'm dealing with a variation of the three-parameter Weibull distribution where the third parameter is randomly distributed over a Gamma distribution. The cdf takes the form: $$ G(x|\gamma) = 1-\exp\left[-\gamma\left(\frac{x}{\alpha}\right)^\beta \right] $$ $$ f(\gamma) = \frac{1}{\Gamma(k)\theta^k}\gamma^{k-1}\exp\left...
I am playing a game where I randomly get 1 of 6 different prizes whenever I do a certain action. The 6 prizes do not drop at the same rate. Some are more rare than others. I am trying to figure out the percent chance that each prize is given. I have been keeping track of all my attempts for a few weeks, so I have a fa...
I would like to test for significance of some sample data. However, I only have the z-scores of individual observations. Is it appropriate to make a claim about the sample as a whole by doing a t-test from the individual z-scores? Are there any assumptions to testing significance if z-scores are being used instead of r...
I am analyzing data from 3 field experiments (farms=3) for a citrus flower disease: response variable is binomial because the flower can only be diseased or healthy. I have particular interest in comparing 5 fungicide spraying systems (trt=5). I am not interested in the effect of a specific farm, they simply represent...
The Setup There are 18 balls, named A through R. They continuously and randomly (or so it seems) increase/decrease in size due to certain external factors. There is a black box system that measures the increase/decrease in size of the 18 balls at regular intervals tx. For each interval, it outputs the changes in size o...
I am working with birds dataset to determine success or failure of these introduced species and the effect of response variables on such. A sample from the final dataset i work with below: dput(birds[1:20,]) structure(list(status = c(1L, 1L, 1L, 0L, 0L, 1L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L, 0L, 0L, 1L), leng...
Suppose I have the data of 300 patients containing their age and grade of tumor at the diagnosis. The grading has only 3 levels: Grade 1, Grade 2 and Grade 3. Is it appropriate to use Spearman correlation to infer if the age was associated initial tumor grade? Would it be better than one-way ANOVA with post-hoc tests? ...
Let K a Bernoulli Random Variable with parameter 0.1 (p(K=1) = 0.1). Let X = K + W where W is a noise, a standard Normal variable. We want to find p(K = 0 | X = 0.5). I reason as follows: Using the Bayes rule: In the conditional Universe of K = k, X is the sum of a standard Normal variable and a constant k. Theref...
I ran PCA. Output is: . I am trying to increase the R-Square Value. In doing so, I want to only consider important variable. Till now I have cleaned the data by excluding the outliers and also by removing variables : Garage yrblt ,1stflsf,totrmsabvgrd & Garagecars as they have very high correlation. Recalculated the L...
I don't understand how simple coding works in the text below (original content here). Once we fit the regression model: Why would the coefficient that we fit to race.f1 help us compare Levels 1 and 2? For example, if we get the results below from such a model. Why is it that I can interpret that the difference in the...
According to Wikipedia (https://en.wikipedia.org/wiki/Binomial_distribution), the variance of a binomial distribution of $n$ independent trials, where each trial has an outcome probability of $p$, is given by $np(1-p)$. But what is the overall variance of the distribution if the number of trials $n$ is itself a binomia...
I'm trying to understand some canonical correlation outputs, and I found differences between eigenvalues results for R and SPSS. Some code: #From cancor help pop <- LifeCycleSavings[, 2:3] oec <- LifeCycleSavings[, -(2:3)] cancor(pop, oec)$cor The output: [1] 0.8247966 0.3652762 I thougth that canonical correlation...
I have a small set of data that I need to fit a curve to (see image and data below). algaeConc adultDens 2.934961 6665.145469 2.921015 6665.144453 2.910769 6665.142377 2.908331 6665.138925 2.907658 6665.134515 2.907278 6665.128736 2.907130 6665.121034 2.907160 6665.117992 2.907326 6665.1...
I am trying to reproduce this study: http://stm.sciencemag.org/content/7/299/299ra122 I have time-dependent features like patient lab values and vital signs measurements, and also features like age, gender, etc that don't change in time. The paper says "we fit a Cox proportional hazards model using the time until the o...
What are some ways I can model the dependency or correlation of my responses? The data: How many hours does the patient spend doing X? How many hours does the patient spend doing Y? How many hours does the patient spend doing Z? The question: I have little interest in the actual levels of the hours. We are more inte...
I have some data that I have fitted with a normal distribution using scipy. Here's how the fit looks like (whether it is a good fit or not is not a problem here) import scipy plt.hist(some_data, bins = 100, alpha = 0.5, normed = True) x = np.linspace(0, 120,num=100) r_loc, r_scale = scipy.stats.norm.fit(some_data) plt....
I am working with a model organism, and we are interested in looking for difference in the effect on survival of both genotype and treatment. For example, we would like to know if there is a larger relative difference in genotype A for a given treatment than for genotype B, something like ((A treated vs A untreated) vs...
Suppose I have a bunch of cities with different population sizes, and I wanted to see if there was a positive linear relationship between the number of liquor stores in a city and the number of DUIs. Where I'm determining whether this relationship is significant or not based on a t-test of the estimated regression coe...
Given the linear model Y=X$\beta$+e, How can i prove the following claim? $SS_{(e)}=SS_{(R)}+Y'Y$ I've done the math, and actually I think the true equality is: $SS_{(e)}=Y'Y-SS_{(R)}$ But I'm really bad at Matrix Algebra and I don't trust myself. Which one is the correct?
I was thinking about RNNs and notice that the update equation for an RNN could be: $$ h_t = tanh( W_{hx} x_t +b_x) + tanh( W_{hh} h_{t-1} + b_h ) $$ $$ o_t = W_{oh} h_t + b_h $$ but instead are: $$ h_t = tanh( W_{hx} x_t + W_{hh} h_{t-1} + b_h ) $$ $$ o_t = W_{oh} h_t + b_h $$ Why is it that they are not the way as in ...
I'm performing model evaluation of my sklearn Pipeline, looking for: optimal hyperparameters: the model is a random forest so in this case: number of trees and tree max depth (using grid search) train size: size of the training set (using validation_curve) train/test performance: to check for high bias / high variance...
I was watching a stanford lecture on deep learning with NLP and he pointed out a bunch of issues with co-ocurrance matrices (which I assume apply to n-gram models and any other count method like that). The slide that pointed out the issues were: Problems with simple co-ocurrence vectors Increase in size with vocabula...
A lot of web-based companies are obsessed with funnel analysis, that is, how the number of people who visit a given page of their site changes as a function of the actions the people had to take to get to that page (e.g. highest number of people on the home page, fewer people on the "account creation page", even fewer ...
I'm fairly new to statistics in general and R specifically and am taking a biophysics course which uses both. My project is to determine trends in temperature and precipitation for my region, using daily measurements from a single monitoring station. I have daily values for Ave. Temp, min, and max, as well as precipi...
Using R summary of a linear model, I'm supposed to calculate standard error and the t-value. I know the t-value is the estimate divided by the standard error, but how do I find the standard error? This is the output I was given: Call: lm(formula = Ozone ~ Temp) Residuals: Min 1Q Median 3Q Max -40.9...
This and other studies, where only a proportion of people return a completed questionnaire, suffer from non-participation bias. I have previously just compared participants with non-participants to see if there are any systematic differences and comment on them. However, the study in the link uses "weighting for the in...
Problem statement - Idea is to cluster students based on their assessment pattern and score. Data = I have a data set that contains Binary data of students answers(Correct/incorrect) which i have recoded as 1 & 0. Its a 10*100 matrix of 10 students answering 100 questions. Looks like this I have tried distance calcu...
I have compared two age groups for bone development (age 14 and age 15) using Fisher's exact test. I got the results shown in the table below $$\text{Ossification status of conjoint epiphysis}\\ \begin{array}{|c|c|c|c|} \hline & \begin{array}{c}\text{Not}\\\text{appeared}\\\text{(Stage 0)}\end{array} & \begin{array}...
In differential dynamic programming, why is $k$ scaled by $\alpha$ during line search and not for both $k$ and $K$? In Newton's method for comparison it is done for the entire change $p_k$, so that when $\alpha=0$ there is no change.
My time series data has seasonality and trend both. Could anyone please let me know which stationarity test is more appropriate? - Dickey Fuller unit root test with drift or Dickey Fuller unit root test with trend? Not sure if I can/should use both.
I want to do a statistical test to test the following business assumptions: 1. Higher duration is associated with a lower score 2. However, Hypothesis (1) may or may not be true for all Survey reasons What I am thinking of is to do a regression with interaction terms: score = duration + reason + duration * reason My qu...
Let's consider a classifier that for each new sample ($x_i$), finds the nearest neighbor ($x'^k_j$) for each class $k$ present in the training data computes the corresponding distances: $d(x_i, x'^k_j)$ computes the decision function as some function $\varphi$ of these distances: $\varphi(d(x_i, x'^0_j), d(x_i, x'^1_...
I have plotted the Bivariate Cluster Plot (of a Partitioning Object) using the clusplot from the cluster package. Following is the code for this: k.means.fit <- kmeans(pima_diabetes_kmean[, c(input$first_model, input$second_model)], 2) output$kmeanPlot <- renderPlot({ # K-Means clusplot( pima_diabetes_k...
I am making Poisson and tweedie GLM models to segment risk. I have one extremely highly significant variable that segments risk very well ($p < 1e-16$ from the model output). However, I also have a few other variables that are not correlated (correlation coefficient $< 0.1$) with the extremely significant one (with $p...
I have created a random sample of 100 values in SPSS and need to now test for normality with an appropriate goodness of fit test. I am trying to do a One-Sample t-test via Analyze -> Compare Means -> One Sample T Test and I get a t-statistic of 47.584 and p-value of 0.000. Is this the appropriate test to use? Is there ...
I would like to know what constitutes a substantial change in my dependent variable. My dependent variable has been standardised in the data set. It has a range of -3 to +1 and is a measure of a nations political stability. I know that the coefficient of my IV represents the SD change in the DV for a one unit increase ...
I have a data set of particle physics events. An event could be seen as a training instance. In these events, there are various particles and these particles have various characteristics (energy, momentum etc.). An example particle is an electron. Now, not every event contains an electron, but when it does, the charact...
I would like to execute multidimensional scaling (MDS) based on a matrix of Pearson correlation coefficients. The sklearn.manifold.MDS function takes a dissimilarity matrix as an input and I therefore need to convert my similarity matrix into a dissimilarity/distance matrix. What is the correct way of doing so? Accordi...
I know this might seem like an obvious question to some, but I think my situation is a bit different and I'm a bit confused with the options i've found by google searches. I'm doing a research project in my school and I asked admin to give me the number of students that are currently at campus but for some reason they ...
Using the lme4 package, I can model each random factor of the model differently. For instance, in this case: lm<-lmer(var~cond +(1|blocks) + (1+cond|sub) , data=data) I set random intercept for blocks and random intercept and slope for sub. How can I do the same using lme? I mean, how can I model this in a different ...
I'm working on a value-at-risk calculation using copulas on different stock market indices. I know how to fit the copula, but I can't figure out how to apply the VaR approach in the next step. The concept of copulas is relatively new to me and has proven to be very challenging for an average master student..I defined 3...
I am trying to understand relative importance and have come across the relaimpo package for R. In it they run an lm model on the swiss data set. The results indicate that examination is insignificant based on the p-value. Estimate Std. Error t value Pr(>|t|) (Intercept) 66.91518 10.70604 6.250 1.91e-07 *** Agriculture...
Monte-Carlo method is basically used to integrate multivariate functions. If we use deterministic methods (e.g. Riemann integration), estimation error has an order of $O(m^{-\frac{1}{n}})$, where $m$ - a number of points where we evaluate the function, $n$ - a number of dimensions. Therefore a number of calculations re...
Vose (in Risk analysis a quantitative guide, 2008) argues that it is preferable to use non-parametric distributions when eliciting knowledge about an unknown distribution from experts. The argument is that experts may not be familiar with e.g. the shape parameter of a Weibull distribution and would perform better if us...
I need an advice regarding the evaluation of the outputs for A/B testing. I have two groups of users, each one contains 1000 users. The group A was receiving emails from the system, while the group B was NOT receiving emails. Then I calculated the percentage of users who visited the web-site in both groups: ...
In Bishop's book, he talks about Bayesian Logistic regression and how to compute it. I understood approximating posterior distribution using Laplace approximation. But I don't quite understand predictive distribution part. Specifically: The predictive distribution for class $C_1$, given a new feature vector $\phi(x)...
As much as I know regression is used for forecasting and we use R square to know how the model better fits, it. Unlike classifiers where we separate two sets and then use it for predicting the new values. So can measures used for calculating accuracy in classifiers be also used for linear regression like models?
Could someone show me how to express this model mathematically? I'm not sure I quite understand how to write it out because I feel like I'm seeing a lot of different notations in different books.
I've been reading up on Neyman Pearson Lemma but don't understand it to its full extent. Could someone please explain to me how to obtain the most powerful size in a bernoulli distribution?
I'm coming across questions in Biostats which ask to test the hypothesis through χ2 test that $-$ A drug it better than a placebo. Not that the effect of the drug is not the same as the placebo. Heterozygotes with sickle cell trait are more resistant to malaria than individuals homozygous for the normal gene. (Q-27 ...
Imagine that we have a regression of y on x1, x2, ..., xk where b1, b2, ..., bk are the corresponding slope coefficients and we do not have access to the data. What we do have is the kxk matrix, C, of variances and covariances between the regressor variables, and a vector, q, containing the covariance of each of the k ...
Can any one recommend some reference or advice for getting a (hard) thresholding rule combining $\lambda_1$ and $\lambda_2$ for solving an optimization problem with the two penalty (regularization) terms? Maybe fused Lasso is an example. Thanks in advance!
I've a dataset of roughly 40K samples, with 39.6K samples belonging to the target class 0 and 400 to class 1. I've tried several classification algorithms, without too much fine tuning, just to get a feeling of how the baseline performance was. They all got an accuracy score of around 99%, that is exactly the ratio bet...
I am doing a multiple linear regression, in order to see whether the predictors are positively (positive $\beta$s) or negatively correlated (negative $\beta$s) with the response. Since I have a lot of predictors, I use Lasso to select variables. With cross-validation, I choose my optimal $\lambda$, but I am left with c...
Problem The title explains my problem. I cannot calculate AUC as things currently stand because some of my data sets have only negatives. I have three possible solutions and I need input from more experienced statisticians. I am still a learner and my research has not revealed to me an appropriate methodology to addres...
Edits: I have added a simple example: inference of the mean of the $X_i$. I have also slightly clarified why the credible intervals not matching confidence intervals is bad. I, a fairly devout Bayesian, am in the middle of a crisis of faith of sorts. My problem is the following. Assume that I want to analyse some IID d...
As many meta-analysts, I am running a subgroup analysis: res<-rma.uni(yi,vi, mods = ~ factor(Plant.type), method = "ML", data=dat) where I have bootrapped the confidence intervals for both subgroups: boot.group1 <- function(dat.group1, indices) { res.group1 <- try(rma(yi, vi, data=dat, subset=indices), silent=TRUE) if ...
I'm running a meta-analysis on several studies; most of them have crude event numbers that I can put in my software, but other ones have hazard ratios with 95% C.I. reported and no crude number reported. Question 1 is: is there a way to pool in a meta-analysis study that reports only crude events with study that report...
I am releasing a dataset for text classification. ​What information would a researcher in natural language processing or machine learning may want to have about this dataset? Here some some information I thought about: Dataset itself: texts, and text ID (the ID makes it easier to refer to a specific text, e.g. it coul...
If I have a regression result where the positive coefficient of the interaction term is not strong enough to reverse the effect of each of its components with negative coefficients, how shall I interpret the coefficients of the interaction term? For instance: y = constant -1.5a - 1.4b + 0.5ab that even if I increase ...
I'm playing with a MemN2N on the babi-dialog-task 1 (API calls). And a very surprising thing I see is that it learns dialogues pretty well, but on the most interesting part, actual API calls, it's pretty terrible (0.7%). And I think it makes sense because there are only 7 distinct interlocutory responses but 159 distin...
I found a lecture notes about non-parametric statistics. I studied those on my own so that I can use them. But I had difficulties to understand why do we do some test as we do. So is there a lecture notes or books or papers where I can study why those methods makes sense? I'm a mathematician so I can read better texts ...
Have a look at the three graphs presented in exam question 6 on this paper (just the graphs): I want to use that as an example for the catastrophe that I am stuck in as a high school student who hasn't delved much into data analysis: How am I supposed to deduce a correlation? The framework that I am using right now ...
I am learning mixed effects logistic regression from this link. In section "Analysis methods you might consider", the author listed several options: Mixed effects logistic regression, the focus of this page. Mixed effects probit regression is very similar to mixed effects logistic regression, but it uses the normal C...
One sentence summary, what is a systematic factor selection method for any of Logit, svm, Naive Bayes, or Random Forest models? Let's focus on four most common classification methods, logit regression, svm, naive bayes, and random forest. Can you please explain how to choose factor? How to determine factor significa...
Given $X \sim \mathcal{N}(\mu,\,\sigma^{2})$, what is the covariance between $X$ and $e^X$?
I have a large population of data instances (say, 1000 instances) that are either of class1 or of class2. I would like to obtain a confidence interval for how many instances are of class1 without exhaustively checking all instances. I have randomly sampled 50 instances, and all 50 were of class1. I used the rule of thr...
I want to identify if there is seasonality of hundreds of thousands of items in a time series. I think a hypothesis test would be most appropriate instead of developing an actual forecast. I can't find a method that can run through thousands of items. I've played around with ETS() and arima() in R. ETS makes some nice ...
I am trying to cluster users based on the page categories they have visited in order to better understand the different user types. My data has the format: userID;Category1;Category2;...;Category9 13123;1;0;...;1 If a user has been in a category, the value is 1, if not, it is 0. I have tried a few different approaches,...
I wanted to know if anyone has ever come across research that was done comparing the output of a Principal Component Analysis (PCA) for PROC FACTOR in SAS versus the PCA output using the prcomp() function in R. I am re-coding a PCA analysis, originally done in SAS, to R. Based on what I've read online, it appears as th...
I know that for marginal distributions $f(x)$ with cumulative distribution $F(x)$, we derive $f(x) = d F(x)/dx$ My question: If given a simultaneous cumulative probability density $F(x_1,x_2,\cdots,x_n)$ how can one derive $f(x_1,x_2,\cdots,x_n)$?
I'm trying to compare the performance of two classification algorithms. Thanks to CrossValidated, I already know that the best way to do this is via McNemar's test. I performed this, and sure enough, the models are significantly different. My question is, does that mean the sensitivity, pecificity and accuracy of the m...
I trained a model with results as below. It is a stacking model with base learners of random forest and gradient boosting. The mega model is a GLM. The dataset is imbalanced in the target class as shown in the confusion matrix on the right top. The target class is a default status of a single loan (Positive: default; N...
"A simple linear regression model was fitted with an intercept equal to -17 and slope equal to 2.37. Calculate the value of the residual when X = 11 and the observed value of Y at that value of X is 12. Use 2 decimal places. " Got this question from a lecturer in an exam and nobody got it emailed her after and she said...
I have some data that is percent reduction, i.e., -%, from a study and I want to be able to summarize the average percent reduction from my n = 20 samples, and to also provide a confidence interval. I thought one way to do this would be to use the usual way people proceed, i.e., $$(\bar p-z_{\alpha/2}\times\frac{\sigma...
This is a question about (1) whether to consider specific data as ordinal/ interval or continuous, and, (2) if the data should be considered ordinal/interval, what the best test is to see whether a treatment and control group are different and how they are different. I have data from a treatment and control sample abou...
I have the following answers to the question: How many times a day do you smoke? 0 time 3 times 4 - 6 times 7 - 10 times 10+ times Can I use these as ordinal variables, or do I have to use them as numeric? They likely aren't nominal?
For GBM and randomForests: I understand, that when I set nfolds to 10, the training frame is divided into 2 sets, first having 90% of rows, and second having 10% of rows randomly for first cross validation model, the model is built on these 90% of rows (first set) and validated against the remaining 10% of rows (second...
My understanding is that the Kalman gain for a regular multivariate filter is computed as $$ K = \bar P H^T S^{-1} \\ S = H \bar P H^T + R $$ $K$ being the Kalman gain, $\bar P$ being the prior state covariance, $H$ being the measurement function, $S$ being the innovation covariance, and $R$ being the sensor noise. Th...
I am a medical student and new to this site so please be patient with me. I am doing a study on effect of zinc on bronchiolitis in children,taking clinical findings over time period in patients given zinc and patients not given zinc (control) for example: I have taken 50 subjects with zinc(group A) and 50 without (grou...
It is my understanding of the AIC formula that: $$ AIC = -2\log(L) + 2m $$ where $m =$ number of parameters. I am wondering how to determine the value of $m$ in AIC for the following models: AR(1) MA(1) ARMA(1,1) ARIMA(1,1,1) Seasonal ARIMA(1,1,1)(1,1,1)12 I believe for an AR(p) model $m=p$, MA(q) model $m=q$, ARMA(p...
I have a set of 2D polygons represented as OpenCV contours that I would like to use to train a KNN classifier on using shape context. I am using the OpenCV python "cv2.createShapeContextDistanceExtractor" as the custom metric for the KNN classifier from sklearn. The issue I am having is that the shapes can't be represe...
I am running a logistic regression, with Gender as the predictor. My issue is that when including "School" into the model I obtain this in the summary output: > glm.1=glm(Gender~Math.Scaled.Scores.2011+Math.Scaled.Scores.2012+Math.Scaled.Scores.2013+School, data= Ed, family=binomial) > summary(glm.1) Call: glm(formula...
Robust linear regression from minimising the absolute deviationresults in a regression line of medians conditional on covariates, instead of means using the standard least squares methodology: Is minimizing squared error equivalent to minimizing absolute error? Why squared error is more popular than the latter? It is u...
Which attribute should consider as best fitted model AICc or RMSE in auto.arima? I am having a case of best$aicc <- Inf for(i in 1:25){ r = fourier(timeSeries,K=i) ar <- auto.arima(anotherTimeseries, xreg= r, seasonal = false) if(ar$aicc < best$aicc){ best = ar /* this part is reached only once for my data, th...
I have two matrices which elements are distances, created from an anisotropic cost analysis algorithm, between sites/populations. A B C _ _ A | 0 DBA DCA | | | B | DAB 0 DCB | | | C | DAC ...
I have data on how things developed in the laboratory. This involves different collection site information and different treatments. My question here: Did the groupings (place and treatment) have an effect on the resulting sex ratio of adult males to females? Can I figure this out using GLM? [I don't know how many peop...
I have my data in a CSV file for a survey response. Gender is an umordered factor with two levels (Male and Female) and Rating is an ordinal factor (1-5) Gender Rating M 1 M 2 F 5 M 4 F 3 and so on I want to find out if there is a statistically significant difference in the ratings between Mal...
The mean time spent travelling daily by individual members of a population is about $60$ minutes, with variance about $900$ minutes$^2$. A programme is planned in which the travel patterns of $10$ individuals will each be surveyed through a number of weeks. Estimate how many weeks will be required in order for all of t...
My question is about the basics of linear mixed model and it may be trivial for some of you. Basically, I followed from this tutorial http://www.bodowinter.com/tutorial/bw_LME_tutorial2.pdf on how to do linear mixed effect analyses in R. I am looking for an effect of a genotype on plant growth. I start with $3n$ seeds,...
I have created the following graph which contains a great number of datapoints, I can see that there is a very linear scattering of the points, but am not sure since it displays a lot of datapoints all around the graph. Could anyone explain what kind of relationship is present and their technique for identifying it?
What is the meaning of this sentence? "In extreme value analysis, the parameters of the response distribution instead of the response expectation are linked to the covariates." I understand that response expectation is E(Y) , but not sure what parameters of response expectations being linked to covariates is.
I know how to solve this question going the long route, using the formula y=a+bx. But finding a and b is time consuming. If we have some inputs given, can I solve this problem using a ti-84 calculator without having to do everything by hand. The question comes from a stats book assigned to me. I do not own the mater...
I am new to time series forecasting and I am trying to understand automatic forecasting algorithm in the forecast package in R. I read http://www.jstatsoft.org/v27/i03 this paper and I tried to run: forecast(t_series_NOT_MODEL) However, the results are different from: e = ets(t_series_NOT_MODEL) forecast(e) Apparentl...
I have a set of patients, of which a subset are 'enrolled' patients who were included into a study (the study population). For all the patients I have some limited data, including their age at the time of the study. In order to demonstrate the characteristics of our study population and compare it with the whole popula...
I've got this hypothesis "People are better at detecting a lie when they are able to see a persons expression, compared to people that are not". I've tested 2 groups of people: 1) one group of 20 people saw a video of a person stating 3 statements of which one of them is a lie and they had to tell which one of the stat...
Let $\mathbf{A}=\sum_{\alpha=1}^nx_\alpha x_\alpha^T$ and $x_\alpha$ is distributed according to $N(0,\Sigma)$. I want to show that the first two moments of the elements of $\mathbf{A}$ are $$E\left[a_{ij}\right]=n\sigma_{ij}$$ $$E\left[\left(a_{ij}-n\sigma_{ij}\right)\left(a_{kl}-n\sigma_{kl}\right)\right]=n\left(\sig...
Classifier Model Linear Regression Model bug = -0.1667 * -0.398rfc-0.374wmc-0.347loc-0.328npm-0.264max_cc... + -0.0058 * -0.487ic-0.466dit-0.444mfa-0.406cbm-0.29ce... + 0.0243 * -0.381npm+0.377avg_cc-0.37lcom+0.344amc-0.337wmc... + 0.0212 * 0.591ca+0.499cbo+0.452noc-0.234avg_cc-0.224max_cc... + 0.0141 * 0.593lc...