instruction
stringlengths
9
38.7k
Sorry, I'm not an expert and my question could be fundamentally wrong. I've read this interesting question because I also was wondering whether to train the model again after cross-validation. Now, after boosting regression trees with this library over 4/5 of the training set, I'm doing a 5-fold CV against a particular...
I read somewhere that a large part of BMR is explained by body weight. Using a data in hand, I used step wise regression with BMR as dependent variable and gender, age, height and weight as independent variables and obtained the following models with variables entered at each stage: model 1: gender ...
I have two pictures representing two laboratory experiments. The idea is that every black band represent one sample. Now I need to use special application to measure the bands intensity, which tell me how much product from reaction I have. For every picture I can do 'background subtraction' which will give me more reli...
Recently I was present with a task estimation technique. Instead of letting people rate a task for x - amount of hours, I let them discretize tasks into discrete sizes like small / medium / large / x-large. (The tasks are planning poker from scrum for people aware of this.) After a bit of tracking we should be able to ...
EDIT For two signals or random variables to be independent, the mutual information (MI) must be zero. What does mutual information (MI) convey? What is the meaning of independence? Does it mean different , unrelated?
I am currently working on a threshold model for the exchange rate between UK and US. I have not got background knowledge on this model so I am really stuck on how to determine the Threshold value, number of regimes and delayed variables (d=?). I am currently using R. From the book I read I noticed firstly I need to cr...
I am in the process of validating a five-items scale for measuring dependence on substance 'X'. I have collected data from 98 people who used the substance under consideration at least once weekly for three years. The items showed a good internal consistency (Cronbach's alpha = 0.81). I also did factor analysis. The fa...
For my research I am using Labelled Latent Dirichlet Allocation (L-LDA) on Reuters-21578 ModApte split dataset. In this dataset the news stories have a title and a body. To test the effect of L-LDA, I apply it in on all three combinations, thus Title, Body and Title&Body. I compare my results with Joachims (1998) where...
I have observed a number ($n=6$) of events and want to test the null hypothesis that they are Poisson distributed with a known parameter $\lambda\approx1$. But I don't know exactly when I started and stopped observing, only when my first and last observation are. How can I test this hypothesis while avoiding the bias o...
There appear to be a large number of rules of thumb for histogram bin size and kernel selection for density plots. Are histograms and/or density plots really the best visualization for a single continuous variable? Are there other desirable options? Are there any settled best practices for visualizing continuous data t...
Does anyone know the concept of dimensionality reduction by predominant component analysis? It was introduced in the following scientific paper: Grundland & Dodgson, 2005, The decolorize algorithm for contrast enhancing, color to grayscale conversion, the concept in described in section 4.3. Could anyone explain how i...
I'm going through Christopher Manning's tutorial from NAACL 2013 "Deep Learning for NLP (without Magic)" and he gets to the point where he's showing how to do unsupervised pre-training. He's saying that we compute two different scores $s$ and $s_c$ and then we want to train the network so that $s > s_c$. He claims that...
I have two random vectors, $A$ and $B$ with each consisting of $n$ geographical co-ordinates $(x_1,y_1),(x_2,y_2)\dots (x_n,y_n)$ and $(\tilde{x}_1,\tilde{y}_1),(\tilde{x}_2,\tilde{y}_2)\dots (\tilde{x}_n,\tilde{y}_n)$, respectively. Suppose we have a given distribution; let $p_1,p_2,\dots,p_n$ be the probabilities as...
I have a feeling this is a somewhat common problem but reading about tests for normal distributions hasn't really helped me as their assumptions didn't seem to fit mine. Consider the following case: I have data (a lot) that is somewhat normally distributed but quite leptokurtic. I collect new data samples and want ...
I have a dataset with page view data for about 500,000 users, divided into two groups. Each user can visit up to 5 pages, each as many or as few times as they want. So for each user, I have the distribution of number of visits to each page. I would like to compare the 'average skew' in distribution between the two grou...
I'd like to fit a longitudinal model for where multiple subjects experience binary outcomes over time. To accomplish that, I'd like to use an additive random effect for each subject and an autoregressive error process to model the temporal stability in the "success probability." To illustrate, I'm simulating data from...
I orginially posted this over at AskMetafilter, and a commenter suggested I ask it here. I work for a dietary supplement company that also makes skin care products, and some of those skin care products are tested clinically. Now they are talking about repeating some of the clinical tests in another region of the world ...
I am attempting simple Ward type clustering. However, the R package is proving several choices to use for the distance matrix. I am wondering how I am supposed to determine the right distance matrix method. Are there any generally acceptable criteria for specific sets of problems?
If you want to compare two learning algorithms, which metric is better to use in general: ROC or accuracy? I understand that in ROC, you get both the sensitivity and specificity?
The chisq.test function in R includes a y = argument, which is to NULL by default. The help page doesn't explain what this argument does, and playing round with numbers doesn't give any clues, for example all these give exactly same results: chisq.test(x=c(20, 10, 5, 3, 2, 1, 0), y = 100:106) chisq.test(x=c(20, 10, 5,...
I am trying to run a model to describe the rate of water table drawdown in the soil. The predicted variable is rate, and I am interested in the effect of two categorical variables: (1) if the water table is above a certain threshold (yes, no) and (2) if the rate is different between seasons (summer / fall). I have meas...
I know that one if one is trying to perform linear regression, multicollinearity can be an issue because it can "lead to unreliable and unstable estimates of regression coefficients." Suppose for a second that I have the following correlation matrix for potential continuous predictor variables I want to regress agains...
For a given sample set $S$ with $N$ individual samples $x_i$, I can easily find the average distance from the maximum by doing something like this: $\sigma_{max_N}:=\sqrt{\frac{1}{N}\sum\limits_{i=1}^N {\left(x_i - \max{\left(S\right)}\right)}^2}$ Trying to do so for larger and larger sample sizes, I (unsurprisingly) e...
In Spectral Clustering, the algorithm suggests performing K-means to $k$ eigenvectors of the resulted Laplacian matrix. Can I use other clustering algorithms such as k-medoids or other non-distance based algorithms instead of k-means, or is the algorithm designed to best respond to k-means?
I have a large panel (5000+ subjects, 4 variables over 182 periods), and I've identified particular Granger-causal relationship in a large subset of those subjects (30% or so). I would like to somehow characterize the subjects that exhibit the Granger causality and parsimoniously compare them to the subjects that do no...
Image Similarity based on Color Palette Distribution I am trying to compute similarity between two images based on their color palette distribution, let's say I have two sets of key value pairs as follows, Img1: {'Brown': 14, 'White': 13, 'Black': 40, 'Gray': 31} Img2: {'Pink': 82, 'Brown': 8, 'White': 7} Where the num...
I have two normal distributions, and I want to test whether they have the same standard deviation, I really don't care about the mean. My idea is: de-mean both of them and then use Kolmogorov-Smirnov to test if the distributions are different, if they are then standard deviations also should be different. I am wonderi...
I need to be neat in measuring the success rate of a treatment. It is anyway pretty high. But as it is all about ecology, multpliying experiments is difficult. I have treated $N = 20$ individuals, $18$ succeded. This is a $\tau = .9$ success rate. I used the Jeffrey's table to get the uncertainty about this rate (Brown...
Let's say the following is data for airplane accident death to total. Country Sky Total death Total individual traveler A 30 10,000 B 60 15,000 C 3000 10,000,000 Is it possible to calculate pr...
Can somebody provide an intuitive difference between correlation and correlation coefficient? During learning of weights of neural network, I want to show how closely the estimated weights are to the known true weights. For this, I was thinking of using the correlation measure. If they are correlated then the value wil...
Frequently I see artificial neural networks compared by their "classification error rates" or "error rates", particularly for multi-class problems like CIFAR-10. What does this error rate actually refer to? Hamming loss? How is it calculated?
My data set is quite small and feature rich. It has 30 observations and 30 features/predictors. In addition to that, many features are correlated (often not linear). I have tried several things- Random Forest, Naive Bayes, PCA for data reduction, checked out both linear & ranked based correlations etc....but the best c...
I have a large number (~1.5 million) of protein sequences, each of them of different lengths.There are 6 schematic examples in the attached image. Within each of these sequences, there are >= 0 domains (shown as colored boxes). Each domain is a match to one amongst a collection of approx 15000 profile HMMs (D1 ... D150...
I have a mixture model and the components are further parameterized by ~200 variables. Originally I use EM-algorithm to get a MLE estimation of the parameters. The algorithm works quite well and converges quickly. However, when I scale up the problem to ~400 variables, the problem become ill-conditioned. After some reg...
Suppose you constructing model whose training data is cumulative in nature; meaning each year you can add new observations with all prior observations being kept the same. (e.g. training set is non-decreasing) As a close analogy, let's rephrase the objective of the true model in terms of studying college student's beha...
I am working by a set of problems on a single question in my textbook. The question explained that there was a recent survey of 1961 adults out of a population of 225,000,000 and asked me to construct a 95% confidence interval estimate of the percentage of all adults on the "Do not call registry". I completed this prob...
This is a general question on normalization of data so that all the variables are within the same range. Why do we normalize data in pattern classification? How to normalize time series which is multivariate? I have collected motion time series from Kinect skeleton tracking. In general, what is the process of normaliz...
I have a dataset of about 300 people. 200 test positive for a disease, and the rest test negative. I have data on different test scores and imaging results for these 300 participants. So my dataset would look something like this status test1 test2 test3 imaging1 pos 10 10 5 98 ...
I am trying to conduct an EFA with a sample size of 150 respondents. I would also like to use cross-validation but my professor says that the sample is not big enough for that. Is that true?
I have been reading up on how to calculate variance for different situations and the following has me confused….. If I take a number of samples (e.g. choose 5 kids in a class and ask them how many pets they have), each time I go into a class and choose 5 kids I am going to get a different mean number of pets, and then...
I have some results where the tester claims the following values: Sensitivity: 0.525, Specificity: 0.925, Precision: 0.516, Accuracy: 0.907 Where Sensitivity=TP/(TP+FN), Specificity=TN/(TN+FP), Precision=TP/(TP+FP), Accuracy=(TP+TN)/(TP+TN+FP+FN) I'm having trouble seeing how these reported values are possible; ...
In Markov decision processes, what is the guarantee that value iteration chooses the same policy action from a given state for every iteration? I am referring to the slides given by AWM at http://www.autonlab.org/tutorials/mdp09.pdf. Thanks Udaya
I am trying to understand censoring in survival analysis and wondering about how to tell when standard use of censoring breaks down. In one case, the number of censored patients is fairly high (low death rate), yet the median or mean "survival" time (times of last confirmed observation of the censored patient) among th...
I'm using the LIBSVM in Java for classification with 200 documents in inputs. I build/train the SVM using the same input training data. My response time for preprocessing of documents (tokenization, filtering and ngrams and then writing results out to files) and loading file into memory is 8 second. Could anyone recom...
I am building a logistic regression model and one of my independent variable sis heavily skewed. Is it better to use the ln or the log10? Why? And how to correct the skewness of a variable that contains a lot of zero values?
Let $X_1, ..., X_n$ be iid with a distribution F. Let $\theta$ be the median of F. What is the value of $E(X_i \cdot I(X_j>\theta))$? If $i\neq j$, then $E(X_i \cdot I(X_j>\theta))= 1/2 \cdot \mu$, right? When $i=j$, I don't seem to find it...I'm looking for an expression in function of $\mu$ if possible, or something ...
I have built a cox model in R using the coxph function in the survival package, and now I need to replicate the model in SQL for scoring. From my understanding, the model has the form described on the bottom of page 2 of this document, http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf, wh...
I was asked to calculate average variance extracted (AVE) to establish discriminant validity; I've ran CFA but ask how to calculate AVE following Fornell & Larcker’s (1981) test when having two latent variables.
I am trying to calculate the expectation $$E[e^{cX}]$$ for arbitrary $c<0$ (for $c>0$ the expectation is infinite) if $X$ is lognormally distributed, i.e. $\log(X) \sim N(\mu, \sigma)$. My idea was to write the expectation as an integral, but I did not see how to proceed: $$E[e^{cX}] = \frac{1}{\sqrt{2\sigma\pi}}\int_0...
I have a polar chart representing eight dimensional observations as 'rings' around the center. Furthermore, I am limited to Excel for graphing purposes, which means I can only display 255 series at once. My goal is for illustrative purposes only - it will be printed, so details will get lost anyways. I would like to ma...
I am having some problems interpreting the odds. I run a logistic regression for an out come 'Yes' or 'no'. My reference category is 'No'. I have 2 variables and this are the log(odds) and the odds: Variable A -> It is a integer with values 2 to 80. logodds: -0.014078787; odds: 0.9860199 Variable B -> It is a integer ...
I have a model where the $y$ is very skewed and I convert it to log and run a log linear model. But, I have doubts about the way to measure the error, because in the original variables the error would be much bigger than in log variables. Are there any other ways to measure the error? I would prefer to use GEP instead ...
I am trying to describe my understand of kernels in the Support Vector Machine(SVM) and why some of them are more popular, but I am not sure if I misunderstand these concepts: 1) There are a large number of kernel functions in SVM, such as RBF, polynomial, linear,etc. Generally, they can be separated into two ...
I am doing a case-control study analysis with 2500 cases and 2500 controls. I am interested in finding out if the cases have higher odds of having a particular disease than the controls, so I am calculating odds ratios for each of the 1000 diseases using a logistic regression model. I want to know which odds ratios > ...
I am concerned with simulating data for a linear regression model. I need to control the means, variances, and correlations (covariances) between the predictors and the criterion variable. In addition, I need to be able to vary the explained variances ($R^2$). It is obvious to me that the latter must be a function of t...
I would like to know if there is a test for the difference of to means m1 and m2 (continuous variables) if I have only information for mean, 2.5%- and 97.5%-quantiles. For example: $m1 \ \ \ = 10.5$ $q1_{025}= 8.3$ $q1_{975}= 12.5$ $m2 \ \ \ \ = 15.5$ $q2_{025}= 12.7$ $q2_{975}= 17.3$ No further informations are...
I have heard of the "false discovery rate curve" (e.g here) but never seen an example. If I recall correctly from a conversation with a colleague, the y-axis in the FDR curve measures the FDR itself, defined as $FDR = \frac{FP}{TP+FP}$ (i.e. $1 - \text{Precision}$), but what goes into the x-axis? What is a normal shap...
I have already used the logit transform on my outcome variables (which are displayed in percentages). However, this obviously gives me -INF values and since my data includes a lot of zeros in some instances, this makes it hard to analyse. I have now tried an empirical logit transform, adding the smallest non-zero prom...
I'm using ANOVA to test for differences between different values of the same factor for a mixed effects model which I produced. My model is: m2 <- lmer (ovsize ~ d.sheetratio + (1|nid), REML=FALSE). Following this, I subsetted the data so that each separate model described just data values for just one value of ratio. ...
I've a day of the year data about number of event occurence in different sites: A day of the year is circular data. I know that a usual detecting of outliers, for example by boxplot is no use here: How can I detect outliers in this kind of situations?
I am running a multiple regression looking at whether TV viewing predicts waist circumference (WC). When I ran through the tests with my tutor we placed WC as the dependant and TV as independent, then ran it again with some of the potential confounders. However, the TV variable is ordinal (1- never, 2- 0 to 59 mins, 3-...
Iterative proportional fitting is a way of adjusting 'internal cells' in a multidimensional matrix to optimise fit. It is also known as 'raking' and can be seen as a subset of 'entropy maximisation'. The purpose for which I use IPF is to allocated individuals to zones. My code iteratively adjusts a weight for each indi...
When making predictions with a random forest model, is it possible to associate the probability of a test case belonging to a class? For example, for a given test case, can we say that the probability of that test case belonging to the setosa class is 90%, versicolor class is 7% and virginicaclass is 3%? Is there any...
I'm currently doing a modelling project. However, I haven't taken a bunch of statistics classes, so I have to teach myself generalized linear models. I'm reading Generalized Linear Models for Insurance Data (Heller and de Jong, 2008, CUP), and I have two questions: 1. On page 64, it says: Given a response $y$, the ge...
I have a pair of data sets, and I want to know whether the medians of these two sets differ significantly. I've calculated the median of each set and subtracted them from each other. How can I determine appropriate error bars for that point? I was thinking I would take the median absolute deviation (MAD) of both and ad...
I have looked at a lot of R datasets, postings in DASL, and elsewhere, and am not finding very many good examples of interesting datasets illustrating analysis of covariance for experimental data. There are numerous "toy" datasets with contrived data in stat textbooks. I'd like to have an example where: The data are r...
For an ARIMA (0,0,1) model, I understand that R follows the equation: xt = mu + e(t) + theta*e(t-1) (Please correct me if I am wrong) I assume e(t-1) is same as the residual of the last observation. But how is e(t) calculated? For example, here are the first four observations in a sample data: 526 658 624 611 These ar...
Is using a 2 way MANOVA to check whether height and weight differ across age groups and gender, the same as using a 2 way ANOVA to check whether BMI (wt in kg/ht in m$^2$) differ across age groups and gender?
I have a between-subjects ANCOVA (factors A and B, and covariate C), for which A*B is significant. I decomposed the interaction with a planned comparison described by the contrast A=(-1,1), B=(0,1), which was significant. I would like to find out the effect size (partial eta squared) for this effect, but unfortunately ...
I have a large scatterplot, with about 100,000 (x,y) points. The x coordinate is the set of numbers from (1 to ~100,000) - in other words, no 2 points have the same x-coordinate. The y is mostly constant (around 50-70 in value), but there are key "regions" where the y value spikes to ~120 or drops to ~20. How would I s...
I would appreciate any help in trying to calculate the Cumulative Distribution Array of a Probability Mass Array when dimensions > 2, essentially a discrete joint cumulative distribution from a sample of data. MATLAB syntax would be most preferred. In a bivariate case (2 dimensions), the following works well: cumsum(...
I have a a big data set of clients with all sorts of variables that describe their background, payment history, and more... I also have a subset of those client who all have portrayed similar idiosyncratic, yet worrisome behavior. I want to be able to predict clients that will exhibit similar behavior or at least under...
In testing the difference between a 'pre' survey group and 'post' survey group, I have the same sample population surveyed, yet different sample sizes (fewer respondents within the 'post' group). Am I still able to do a paired t test? More detail: I have 320 students. 304 responded to the pre survey and 156 of these re...
I was curious what sort of time series models were the standard for doing this type of analysis. I have weekly sales data for the company - I could cook up my own time series model but would like to know what my options are.
I've seen the homoskedasticity assumption stated as the constant conditional variance of the error (i.e., Var(u|x)=constant). I was wondering if I can also state the homoeskedasticity assumption as constant variance across values of a same dependent variable, conditional on the independent variable (i.e., Var(y|x)=con...
I'm trying to compare two sets of counts over totals. For example, subject 1A will have 40 out of 600, and subject 1B will have 3 out of 20. How do I compare these proportions and counts while taking the total number of reads/counts into consideration? My null would be that these proportions are the same, and my altern...
To generate data with a missing at random (MAR) mechanism, usually we can first generate a complete data set and then model the missing probability for the variable $Y$; i.e. $Pr(Y=\text{missing}|{\bf X})$, using a logistical model, i.e. $$Pr(Y_i=1|{\bf X_i})=\frac{\exp(\beta'{\bf X_i})}{1+\exp(\beta'{\bf X_i})}.$$ Bas...
The context of this is matching experimental RNA SHAPE data to theoretical models of base pairing probabilities. RNA folds back on itself, some bases pair with each other, and some bases remain unpaired, making loops. SHAPE data gives "reactivity" of a base (proportional to not being paired) as a function of base index...
Hello I am running a Regression Tree experiment. I am new to Regression Trees, and I am using Mean Squared error to test my tree. I am confused because I am getting a large Mean Squared Error but I am not sure how to evaluate if it is too high. Should different successful trials expect varying MSE? Do there exist metho...
I'm trying to formalize the probability density function for a rather simple process, but I'm having difficulty writing it precisely. Specifically, consider simulating a 1-D Gaussian random walk starting from X_0 until some stopping condition (which happens in finite time almost surely). Specifically, let RV $X_0 \sim...
I have a table that looks like something this: Outcome Method 3 2 1 0 1 x_11 2 x_21 .... 3 x_31 4 x_41 x_44 Each x_ij represents a count. Also for each method, there were 140 tests. Thus \sum_j (x_ij) = 140. I want to see which method is best. Outcome 3 is better than outco...
I was using the Linear Discriminant Analysis (LDA) from the scikit-learn machine learning library (Python) for dimensionality reduction and was a little bit curious about the results. I am wondering now what the LDA in scikit-learn is doing so that the results look different from, e.g., a manual approach or an LDA done...
I am a novice learner of ARIMA modeling. I have a dataset which includes many cities that are followed up regularly for several years. Each city has its own record (household income, and well-being index) for each time point. Then I sort it by year (so it's a long-form data, a single record for each city at each time p...
Let $X_1,...,X_n$ iid r.v. with distribution F, with mean $\mu$ and median $\theta$.Assume that $Var(X_i)=\sigma^2$ and $F'(\theta)>0$. If $\hat{\mu}_n$ is the sample mean, and $\hat{\theta}_n$ the sample median, then using the influence curve/functions, show that $\left( \begin{array}{ccc} \sqrt{n} (\hat{\mu}_n-\mu) ...
I want to identify the regions that are considerably higher than the highest cluster. (The obvious regions which should be identified as their own clusters, notably at the x coordinate ~10 e+07. How would I be able to identify that using a clustering algorithm? I am using R algorithm kmeans in the picture above. with ...
I am analysing the effect of deprivation on breastfeeding and am wondering which type of regression analysis I should use. It is area level data. Deprivation data is available as a score from 0 - 100 (but no scores actually reach either extreme value) or alternatively as ranked data i.e. 1 = most deprived, 151 = leas...
Given Taylor series and enough data so as to not risk over-fitting, do you actually need to think about if your phenomenon is following an exponential, quadratic, logarithmic, ..., behaviour? I'm sure you can come up with counter-examples of when this isn't a good idea, but if we're very general and pragmatic, is it us...
I have a binomial logistic model I'm working on, with roughly 6 significant variables. I'd like one of those variables to be how likely something else is to happen. Lets say that I'm primarily interested in the probability that cars get sold from a dealers lots, with sub-interest in whether the dealers are golfers. ...
Suppose the stochastic process ${X_t}$ satisfies the equation $$X_t=\phi X_{t-1} + Z_t \tag{A}$$ where $\phi>1$ and $Z_t$ is a white noise. Then iterating forward we get that the only stationary solution of the equation above can be written as: $$X_t=-\sum_{j=1}^{\infty}Z_{t+j} {\phi}^{-j}$$ Therefore, we can write $$X...
I don't understand this concept well and need help. I was choosing whether to use a linear model or apply a non-linear transformation in my model formula. To do a diagnostic, I quickly plotted my data: plotalldaily <- ggplot(amsd, aes(ImpressionsA, Leads.T)) + geom_point(color="orange")+geom_smooth() From the plot, I...
Somebody could explain me why the estimated coefficients of a multiple regression through GLS seem not to pass through the majority of observations? Here is a example: require(nlme) set.seed(1) df=data.frame(y=rank(rnorm(50,0)),x1=rank(y+rnorm(50,0))/2,x2=rank(y*2+rnorm(50,0)),x3=rank(rnorm(50,0))) m=gls(y~x1+x2+x3,dat...
I was maximising a likelihood function, which is convex. I know that the system has a K-sparse solution. I wanted to know the conditions (or some sufficient conditions) on the likelihood function under which l1-regularisation is guaranteed to give me the sparse solution. In other words, I am trying to solve the followi...
I'm currently working on the data which has 90% 0s in response variable. Based on my research, it seems zero inflated models could be a solution to this. However, while I was reading related documents, it seems the basic idea of two part model( hurdel) is $ E[Y|X] = P(Y>0|X) E[Y|X,Y>0]$ The question is will it be ...
I have run a stepwise regression on R. However, the summary of the final model includes some factors that are not significant. Why have these factors not been removed? Should I remove these from my model? The VIFs of these factors are all under 5.
I'm trying to test for the effect of soil moisture on transpiration rates. I have plot-level data for 18 plots in 6 different stands of trees (3 plots x 6 stands). I want to treat "stand" as a random effect. There are reasons (genetic similarities within a stand, differences in elevation, species composition, etc.) to...
Deas, One assumption for Spearman's correlation is that data have to be monotonic .. I tried to do scatterplot in spss, but I get the following graph that I couldn't decide if it is monotonic .. What is the solution please ? Note: my data are ordinal variables.
I am currently working on a project using a sales system and trying to come up with a way to use the current pipeline of potential sales to predict the amount of product that will be sold in the future. I’m looking for advice on how to approach this problem and hopefully some resources to teach me what approach to use ...
I'm having difficulties to find the right model formula for my model: $Y_i=a+bX_i$ where Y and X are both deflated by another variable y1/def ~ x1/def + x2/def returns a model with interactions. How can i prevent R from doing so?
This question is leading on from the following question. https://math.stackexchange.com/questions/360275/e1-1x2-under-a-normal-distribution Basically what is the $E\left(\frac{1}{1+x^2}\right)$ under a general Gaussian $\mathcal{N}(\mu,\sigma^2)$. I tried rewriting $\frac{1}{1+x^2}$ as a scalar mixture of Gaussians ($\...
I have three techniques, called A, B and C. Each can be used independently when trying to perform four related tasks (Tasks 1, 2, 3 and 4). I have run lots of tests, trying all combinations of each technique being on or off. My results look something like this. Each number represents how many times the task was complet...