instruction
stringlengths
9
38.7k
I've just started learning about self-organizing maps without much of a background in neural networks, so forgive me if this question seems trivial, but it seems that a SOM depends on which order the input training data points are fed into the SOM? So it's possible to obtain different visualizations for the same traini...
I am used to R, in which you can use factor(variable) to indicate a categorical variable. However, in scikit-learn, trying to pass a variable of strings causes the DecisionTreeClassifier to give an error. How are you supposed to use a categorical variable in scikit-learn? Is the only option for encoding a multi-class v...
I am currently working on my final year project for my mathematics degree which is based on giving an overview of the Metropolis-Hastings algorithm and some numerical examples. So far I have got some great results by using my proposal distribution as a Gaussian, and sampling from a few other distributions, however I am...
My subjects are mice, swimming in a pool for 60 s. The DV is how much time they spend in each quadrant of the pool. The performance of each subject is independent of every other subject. However, the software classifies each 0.5-s frame as being in one of the four quadrants. If the subject is in one quadrant he is ...
I am using seqecreate to specify an event sequence object using TraMineR. The dataset has 1271 rows and 4 columns, an id, timestamp (timed), and 2 event variables (one numeric and one string). Most of the data have only 1 event per id. I've done other analyses with these data in SAS without issues. When I run seqe...
Based on readings with logistic regression, it appears that you could use this analysis to make predictions about categorical variables. Does logistic regression allow you to predict multiple dependent variables with one independent variable, or just one? For example, if I were looking at predicting the gender of someo...
Interpretation of t-test value (2 tailed): ~20% chance that these results could have been obtained randomly. My intuition: MEAN_2 - MEAN_1 = ~3% of MIN(STD_1, STD2). Calculate area under normal normal PDF between -3% and +3% of std from mean which is ~2.5%. Why is the t-test result so far off from my intuition??? COU...
I've found some interesting results that I'm trying to write up appropriately, but I'm having a hard time finding any guidance into how to write up an interaction in a binary logistic regression (outcome is 0,1). The interaction was predicted, and this is not an issue. The issue is that I have two categorical predict...
I want to use logit model in Stata. In my dataset only 3% of my target variable observations are 1, and 97% are 0. How do I rebalance this data set, so I have more observations labelled 1, and fewer labelled 0?
I'm looking for a general method for 2d interpolation of a coarsely sampled image. I'll use an example, taken from the scipy.interpolate (Python) page. Say, I have this image, but instead of interpolating in the sense of going from e.g. a 512x512 grid to a 1024x1024 grid, I want to use the red/blue spots as data and r...
I have one group of participants measured on a health outcome scale at two different time points. I first want to see whether there is a significant difference between time 1 and time 2 on this outcome variable, I then want to see if this outcome variable at T2 is predicted by another dimensional variable (BPD dimensio...
I have a simulated data set and I want to fit a "smooth approximation line" like the image I have provided. 1- Is it possible to do this in Excel or Matlab? May I have a pointer on how to do it? 2- How we find how much of the data is within a distance of 0.15 of the line? Or do we basically fit a line in a way that 9...
(this is the opposite of "introduction to statistics for mathematicians") I'm a programmer who loves writing logic and even a libsvm vector embedding library to my name. Now I'm getting asked questions about: "exogenous factors" "sample randomness" distributions, confidence intervals, etc. There are plenty of self-ta...
I'm trying to validate a series of words that are provided by users. I'm trying to come up with a scoring system that will determine the likelihood that the series of words are indeed valid words. Assume the following input: xxx yyy zzz The first thing I do is check each word individually against a database of words t...
I have seen an apparently interesting quantity called the Bayesian complexity, which in this case is defined as $-2(\overline{\ln\mathfrak{L}} - \ln\mathfrak{L}_\mathrm{max})$. I am not sure what this is used for. I.e., what sorts of tests can be made on this quantity and what does it imply?
I am interested in developing a computational search of some types of non-coding RNAs (ncRNAs) on a new genome. I have some questions related to the nature of my experiment, because it is an exploratory study, and I can generate different results by applying different BLAST search strategies. The final output consists ...
Data was collected on binary variable and continuous variable. The binary variable represents two groups. Group 1 has a sample size $n_1$ and mean $\mu_1$ on the continuous variable Group 2 has a sample size $n_2$ and mean $\mu_2$ on the continuous variable The significance test is as follows: H0: μ1 = μ2 versus Ha:...
Does there exist a flavor of spectral clustering (graph construction, type of laplacian, et cetera) that results in a clustering (on arbitrary data sets) that is similar to the k-means clustering "in spirit", i.e. finds a partition of the data into isotropic high density regions? (Of course, I don't expect exact equiva...
If $X$ is an inverse gamma distributed random variable, then would $X^p$ also be distributed as inverse gamma? I found someone asked about the square root of inverse gamma, but I didn't find a direct answer to that question.
Given a sample vector $x$ of size $N$ from a normally distributed population. With frequentist methods the population mean is estimated as $\hat{\mu}=\frac{\Sigma{}x_i}{N}$, population sigma is estimated as $\hat{\sigma}=\sqrt{\frac{\Sigma{(x_i - \hat{\mu})^2}}{N - 1}}$. Is there a Bayesian prior for the population mea...
Given a time series, I am trying to determine whether the underlying stochastic process is a martingale or not. Until now, I have deduced that since I know that the process is always bounded after a deterministic time, if I can prove that it is a Brownian motion, I will be done. Is there a standard test for this?
How should I define a model formula in "R", when one (or more) exact linear restrictions binding the coefficients is available. Equation: y = b1*x1 + b2*x1 where y = b1*x1 for t < t1 and y = b2*x1 for t > t1 Thank You..!
I am new to statistics and I happen to came across this property of MGF: Let $X$ and $Y$ be independent random variables. Let $Z$ be equal to $X$, with probability $p$, and equal to $Y$, with probability $1 − p$. Then, $$M_Z(s)= p M_X(s) + (1 − p) M_Y(s).$$ The proof is given that $$M_Z(s)= E[e^{s Z}]= p E[e^{s X}...
I have performed comparison of repeated measures for a group using Friedman’s test (K-related-samples test) and additional post-hoc analysis with Wilcoxon signed-rank test and Bonferroni correction. I have been told that this would be correct to do when looking for a change between the measurements and your measures ar...
Consider tossing a fair coin and writing down the outcomes in a sequence of symbols. "H" stands for head and "T" for tail. Let A , B and C be the words HTHH , HHTH and THHH respectively. What is the probability of encountering each A, B and C as a subword in your sequence of outcomes before both others? Edit: My qu...
I have a dataset that I want to fit according to $$\log(y) = a + b_1\log(x_1) + b_2\log(x_2) +\cdots + b_k\log(x_k).$$ My statistical package has options to do a linear regression and lognormal. I am not sure which one I should choose.
I have several data related questions I am hoping to get answers to. I have a 4-week intervention (no control group) and all participants are given and pre and post test assessment consisting of two highly reliable, valid, and correlated measures (BAI and BDI). Here are the questions I am trying to answer: Is the ob...
I have data that look like this in a 365*804 matrix: Sample Variant1 Variant2 Variant3 Person1 1/0 0/0 1/1 Person2 0/1 1/1 0/0 Person3 0/0 0/0 0/0 I want to see if any Variants are significantly associated with each...
I want to fit a mixture of two gaussian densities to my financial data. The data can be found here: http://uploadeasy.net/upload/2a7mw.rar the variable is called dat. The probability density of a mixture is given by: \begin{align} f(l)=\pi \phi(l;\mu_1,\sigma^2_1)+(1-\pi)\phi(l;\mu_2,\sigma^2_2) \end{align} The quantil...
I have a exponential trendline that was generated by excel ("Add Trendline") on a chart. I've plugged in the equation (from the "Display Equation on Chart" option, up to 14 decimals) into a spreadsheet and compared the projected values with those values projected by the GROWTH and LINEST functions. In my comparison, I ...
I want to know if it is possible for a library in R to evaluate the association of independent variables and create a formula? I am trying to come up with a model to predict power consumption of a machine, using some hardware counters and performance attributes. When I use linear regression, I have no problem since I c...
I have two multi variate normal distributions N1 and N2. Say two points p1 is from N1 and p2 is from N2. I want to get some statistical features from these two points. How can I do it? I need a richer representation (not one number). Say my points are in a d dimensional space, in that case I need a d dimensional vector...
In a part of my research, I am fitting probability distribution models for the count data(and binomial data) using Poisson, Binomial, Negative Binomial and Beta Binomial models. I have few data sets in which the observed frequency and hence the expected modeled frequencies are too small(less than 5).. I want to compare...
We are investigating the effects of a treatment (versus untreated control) on insect abundance. The study consists of 5 geographically separated study site replicates. Treatments were applied to 1 ~500 acre area at each location. Insects were collected from 14 randomly selected locations within the treatment area at ...
I am modelling a zero-truncated process with a count model, and am trying to determine whether the data are overdispersed. The Poisson distribution has a variance equal to its mean, $$\newcommand{\Var}{\operatorname{Var}} \Var(y) = E(y) = \lambda $$ The negative binomial model relaxes this assumption by estimating an o...
I am struggling with a linear regression model of the shape $y = a + b_1\text{month} + b_2\text{year}$. I have 12 months for each year and 10 years. My dependent variable is a log transformed ratio. I have understood that much that when setting such a model up in R, R automatically picks a level for each variable to go...
I am reading Elements of Statistical Learning and on page 12 (section 2.3) a linear model is notated as: $$\widehat{Y} = X^{T} \widehat{\beta}$$ ...where $X^{T}$ is the transpose of a column vector of the predictors / independent variables / inputs. (It states earlier "all vectors are assumed to be column vectors" so w...
I've got a set of experiments where 3 replicate measurements are done for rat cell lines and for human cell lines under different conditions using various compounds. I am trying to predict the response in human based on the response in rat. Assuming the replicates are not paired (replicate 1 in rat doesn't correspond t...
It's easy to calculate power for paired t-tests and ANOVA, but how do you calculate power for more complicated designs such as split plot designs or factorial designs?
There's a hidden variable that I'd like to approximate. I know several summary statistics: min, max, mean, median, standard deviation, n; and that it's approximately normal. I can obviously do a plain normal distribution given the mean and standard deviation, but I know it's slightly skewed and limited tails. Obviously...
I am evaluating pre and post test data for 2 groups using repeated measures ANOVA. Given that I am missing a few data cells, the final n is reduced in the analysis. I'd like to know if I can run separate repeated measures ANOVA for each subtest (or combinations that have the same number of full data sets) rather than i...
I can't seem to work out why I can't perform a 5 grouped Kruskal-Wallis test on unequal sample sizes in matlab. Any thoughts how to do this? Also as a post-hoc analyis using Wilcoxon Rank sum is this individually comparing the groups? Regards, EDIT: I observed the length of 5 types of nursing care however now have 5 g...
Suppose I have a regression model, for example a logistic regression model, which provides a score between 0 and 1 reflecting whether or not that a student will pass a course given certain variables: Variables about that student's demographics / past academic performance Variables describing the course, such as the c...
An urn has half red and half white marbles. The probability of getting all red or all white in 4 draws is 12.5% and the probability of getting all white or all red in 7 draws is 1.56%. How does one calculate these percentages without knowing the actual numbers of red and white marbles in the urn?
I have been working on a test in which I need to quantify the variability in a process. The process in question involves positioning a number of landmarks on an anatomy. There are two sets of landmarks, one set forms a frame of reference around the bone while the other approximates the native orientation of the anatomy...
I have data from participants who rate emotional content of pictures. Specifically, people see 20 pictures of abstract paintings (one at a time) and are asked, "what emotions is expressed in the picture?" There are 5 response options: anger, fear, sadness, happiness, and none. The key info here is that for each picture...
I showed a video to 3 groups, and they answered questions before and after the test. Control group watched it with no ads Group A watched it with ad A Group B watched it with ad B The sample is such that the test needs to be non-parametric. What do I to test whether the differences between the pre-test/post-test scores...
I've just received some survey data and I found that the results are highly positively skewed. Most of the questions were answered on a five-point Likert scale, and the mean values of many questions are around 4.3, with standard deviations of 0.5 or 0.6. Another problem is that in the questionnaire I included several m...
I'm using a wild bootstrap to create confidence intervals around fitted values of the following model, for a specific combination of the factors, as x varies across its range. mod = gam(log(lhs)~ s(re,bs="re",by=dum) + as.factor(fac1) + as.factor(fac2) + as.factor(fac3) + s(x,by=as.factor(fac1))...
I had an 18 variable original data. I did principal component analysis and converted it to 6 PCs explaining 75% of the variance of original data. The I clustered the 6 PCs. For that, I first used average linkage to calculate the mean value of the PC scores with certain number of clusters (I tried 3,4,5,6). Then I used ...
I recorded the length of 197 nursing care episodes. My normalised data $(x-\mu)/\sigma$ looks like this: Kolmogorov-Smirnov gives me a p-value of 0.14. Can't be right surely?! Am I misinterpreting my results?
I have the following data: http://s000.tinyupload.com/?file_id=00083355432555420222 I want to fit a mixture density of two normal distributions. I have the formula: \begin{align} f(l)=\pi \phi(l;\mu_1,\sigma^2_1)+(1-\pi)\phi(l;\mu_2,\sigma^2_2) \end{align} my R code is: normalmix<-normalmixEM(dat,k=2,fast=TRUE) pi<-no...
I'm trying to fit a functional demographic model (fdm) to fertility rates using the demography package in R. When I've plotted the residuals using filled.contour, it seems that residuals persist in the lowest age interval over the period. Since residuals should normally be random, is it normal that the residuals are be...
I am performing a PCA analysis in Matlab on a $110\times 7$ dataset using some custom code. I am checking my code against Matlab's princomp and my eigenvectors are the same except that the 3rd and the 7th column are of the opposite sign. What does that mean? And why does this happen? My code is: mu = mean(data); data...
I'm trying to derive the posterior distribution for the failure rate (lambda) of a process with poisson distribution. I have tried the use of an improper uniform distribution on lambda by letting the max tend to infinity. My posterior then just has the Poisson like form again (but as a likelihood function of continuous...
I am fitting a gaussian mixture to financial data. My mixture density is given by: $f(l)=πϕ(l;μ_1,σ^2_1)+(1−π)ϕ(l;μ_2,σ_2^2)$ I calculated the skewness of the data already. Now, I want to look at the skewness of the fitted gaussian mixture. Since I used ML (EM algorithm) and not method of moments, the moments will not ...
A set of points $X = \{x\}$ is $\gamma$-shattered by a set of functions $\mathcal{F}$ if there are real numbers $r_x$ indexed by $x$ such that for any binary vector $b$ defining labeling of points from $X$ we can find a function $f \in \mathcal{F}$ such that $f(x) \geq r_x + \gamma$ if $x$ has label 1 and $f(x) \leq r_...
I fitted a mixture denstiy of two gaussians two my data. I now want to calculated the standard errors of the estimates via the boot.se command of the mixtools package. My question is now, if the output is correct? It seems a bit odd to me, so is this correct what I am doing and can I rely on the values? My data: http:/...
There is a PDF $p(D| \theta)=p(X,Z| \theta)$ with observed values $X$ but also some missing or incomplete values $Z$ (for eg. resulting from censoring). The expectation-maximization (EM) algorithm is said to give the parameters $\hat{\theta}$ that maximize the likelihood of $D$--i.e. for both the observed and missing v...
What happens to the error terms in an (AR)MA model when doing out-of-sample forecasting? As I understand it, when doing an in-sample fit, the estimate is simply the residual of the ground truth data. However, in an out-of-sample setting I don't know the residual. What happens? Do I take zero as the expected value as an...
I have modeled some data using generalized linear modeling with a binomial distribution and logit link function. However, my data is not dichotomous, it is actually a series of events. I have fixed the number of trials at 20 (because there were 20 trials) so it is not a binary outcome (i.e., logistic regression). I bel...
I have a question about a testing methodology for a binary classifier, that I'm not entirely sure how to describe. So apologies if this has been answered many times before but I haven't had much luck searching for it. I'm attempting to test a binary classifier where the positive class is a tiny minority of the data, ap...
I would like to calculate the power of a Chi-Square test for goodness-of-fit as a function of sample size for a specified alpha-value (say 0.01). Specifically, I am referring to power as the probability that the test will correctly reject the null hypothesis. In most places I look, I can find only vague references that...
There has been extensive literature that puts forth a standard set of assumptions for the Ordinary Least Squares (OLS) estimator. I am very interested in working around the two classical problems of a)Errors in Variables regression, b)Deming's Regression in a multivariate setting where the error's in measurement is o...
I have a panel dataset with a sample of 800 groups, each having between 200-500 observations. The data looks like this: The dependent variable is binomial: close_gp30_f30. The independent variables are continous growth rates. An example summary of one of these is: close_g1 -------------------...
I have a dataframe with each row being a different site (51 sites), and each column being mean values of a different continuous environmental variable (19 variables). I am trying to calculate a measure of environmental similarity/dissimilarity by using a distance calculation between sites. I would like to calculate eit...
A student got 88 in his first exam, which had mean score of 64 with SD 8. He missed the second exam in which the mean score was 45 and SD was 5. The professor used regression to award him a prorated mark of 55. What was the correlation of marks between the two exams? Am I doing this right? $$ \hat{z}_y = r z_x $$ an...
I am doing research on mortality. I am running Cox regression and I am adjusting for 40 variables which are proven in the literature to be related with mortality. My main exposure is X. In my final model I have 19 variables that are significant and my exposure is non significant. Than I try the last analysis including ...
I'm intending to do a bayesian zero-inflated regression, where some of my regressors are categorical variables, like this one, the country regions: >table(db$region) REGIAO1 REGIAO2 REGIAO3 REGIAO4 REGIAO5 REGIAO6 REGIAO7 REGIAO8 4851 2293 5471 410 1157 626 3683 1712 REGIAO9 R...
Supposing that I have an interval $n$ units long with $m$ arrivals, and I model arrival using a poisson distribution with $\lambda = m/n$, it's pretty easy to show that the distance between successive arrivals has an exponential distribution $\lambda e^{-\lambda x}$. However, I'm having a hard time generalizing this to...
I want to plot the results of a regression model, but allowing two variable to vary simultaneously. I guess I could do that using predict() function in R, but I am running a model that does not have such function developed yet. Let's suppose we have a data set x1 <- rnorm(100) x2 <- rnorm(100) y <- 1 + x1*5 + x2*3 + rn...
Could someone provide a sample interpretation for the following: dependent variable Categorial variable category 1 Beta estimate of 1.78 (-3.39,6.69). cat 2 2.45 (-287, 9.34) cat 3 4.49 (-3.65, 7.08)
The Merriam-Webster dictionary defines a contingent event or situation as 1 : likely but not certain to happen : possible 2 : not logically necessary; especially : empirical 3 a : happening by chance or unforeseen causes b : subject to chance or unseen effects : unpredictable c : intended for use in circumstances n...
What is the typical number of kernel evaluations (between two training vectors) performed during a (kernelized) Support Vector Machine (SVM) training? I am asking this question because I need to determine how much I need to optimize the kernel in order to have some hope to do the training in a reasonable amount of time...
Please show some working when substituting the equation.
I fitted a gaussian mixture to my financial data. The values are: $\pi= 0.3$ $\mu_1= -0.01$ $\mu_2= 0.01$ $\sigma_1=0.01$ $\sigma_2=0.03$ One can see, that both single distributions have a mean of almost zero, wherease one has a high volatility and the other a low volatility. The normal distribution 1, the green one w...
Does anybody has the example of the program which simulates Sequential Monte Carlo Algorithm? In any software. I'm trying to write such kind of program but there constantly are question and problems I can't solve. Regards
I'm reading through this paper on Generalised Wishart Processes (GWP). The paper calculates the covariances between different random variables (following Gaussian Process) using squared exponential covariance function, i.e., $K(x,x') = \exp\left(-\frac{|(x-x')|^2}{2l^2}\right)$. It then says that this covariance matrix...
I'm trying to analyse a dataset to detect fraudulent insurance claims. Unfortunately, other than basic demographics the rest of the claim is a free format OCR scanned text file made from documents submitted by the patient. These documents include lab tests, hospital bills etc., patient summaries. Right now, manual cod...
I have two matrices with multiple variables. The two matrices come from same sample.I would call them matrix A and Matrix B.Each of them have many correlated variables . I would want to evaluate the relationship between matrix A and matrix B taking matrix B as explanatory and matrix A as dependent . When i looked at th...
We have the following points: $$ (0,0)(1,51.8)(1.9,101.3)(2.8,148.4)(3.7,201.5)(4.7,251.1) \\ (5.6,302.3)(6.6,350.9)(7.5,397.1)(8.5,452.5)(9.3,496.3) $$ How can we find the best fitting line $y=ax$ through the points? My calculator has the option to find the best fitting line $y=ax+b$ through these points, which is: $...
Suppose we are given a distribution P and a constant K. We wish to minimize the kmeans objective w.r.t centers ${C1,..Ck}$: What constraints on $P$ are known to imply that the optimal solution is unique (up to reordering of centers)? Examples of ad hoc methods would also be appreciated. In particular intereset to me a...
I have fitted a 3 parameter (mean, sigma & tau) model to my data and have also computed the standard error for each of them. The statistic of interest for my data is the sum of mean and tau. My question is how do I estimate the total error for this new statistic? I know I can't simply add up the errors for mean and tau...
I'm relatively new to statistics and I'm a little confused about which test I should be using for this problem. Let’s say I am collecting data about responses to a book under two different conditions (C1 and C2). In each condition, I am looking at several attributes about the book and asking for ratings using a 5 point...
The following data are mandible lengths (mm) of 10 male and 10 female golden jackals Canis aureus in the collection at the British Natural History Museum. The two samples are independent. Males: 120 107 110 116 114 111 113 117 114 112 Females: 110 111 107 108 110 105 107 106 111 111 Using a randomization test, ...
Does anyone know how to compute (or extract) leverage and Cook's distances for a mer class object (obtained through lme4 package)? I'd like to plot these for a residuals analysis.
For my data, I need to run numerous linear regression analyses, separately for each of my two groups of subjects as well as different conditions. Together, I would have to run approximately 40 regression analyses across the 3 conditions for each group. I'm aware that we should correct for multiple comparisons for the r...
I have a surgical database in which there are approximately 100,000 observations and 200 features. Each observation corresponds to a separate patient while the features correspond to either preoperative, perioperative, or postoperative variables (e.g. preoperative labs, length of operation, and days until death). As su...
Are there any statistical concepts or theories on how to effectively measure recency to where recent events are given more weight than older ones. I'm creating a logistic regression model and would like to apply an adjustment to various factors based on the events recency. ...or, is it purely up to me to come up with a...
Curious whether anyone knows a package, or has written an implementation themselves, for conducting instrumental variables regressions using LIML in R. All of the R packages I have seen for IV regressions seem to resort to 2SLS/GMM as opposed to LIML, which may have more desirable finite sample qualities compared to 2S...
I recently learned about a principle of probabilistic reasoning called "explaining away," and I am trying to grasp an intuition for it. Let me set up a scenario. Let $A$ be the event that an earthquake is occurring. Let event $B$ be the event that the jolly green giant is strolling around town. Let $C$ be the event th...
Lets say that complexity if individual is ranked in ordinal scale as : 1 = simple 2= moderate 3= complex 4 = very complex, how would i indicate the average of complexity by taking from 100 respondents? Thanks
I have been researching this topic for some time now and was after some opinions or comments. Are there any situations where a path analysis (a form of SEM) might be more appropriate than a full SEM? Specifically, if measures used are standardised and often very long making a measurement model extremely complex and sub...
So basically I am using the wine.dta file and have a range of dummy variables for 6 regions. I have excluded 1 of the regions (regressing on 5 of the dummy variables) but for some reason Stata says there is still a collinearity problem and only gives 4 coefficients... Why is there still a collinearity problem when I h...
As you see, I have more than 500 groups of data. how can I get the std.coef in mult-linear regression for each group? Until now, I only know how to get one group by using lm.beta. For example: library(QuantPsyc) p <- read.csv('Data1.csv') model1 <- lm(YCOORD110 ~ TEMMIN + TEMVAR) lm.beta(model1) For groups, several c...
Suppose $X_1,\ldots,X_n$ is a random sample from $N(\theta,1)$ so that $\theta\geq a$ . How can I calculate minimax estimator $\theta$ under loss function $L(\delta,\theta)=(\delta-\theta)^2$
I am doing a study to analyze the effects of knocking out a particular gene on a certain behaviour in flies. After a log transformation, my observations have a normal distribution so I'm going to do a three-way ANOVA, with age as the first, sex as the second and genotype (mutant vs wild-type) as the third variable, als...
I am monitoring variability in sentencing outcomes (custodial sentence length) amongst matched groups. The aim is to determine whether sentence variability went up or down after a policy was implemented. I have about 40 groups of sentences, which are matched on the characteristics of the case. For example, group 1 ...
I'm new to statistics and R. So, I have a dataset on which I want to build a predictive model. Since there is quite a variability in the input variables, I thought it would be better to cluster my data first (using kmeans) and then build separate models on each cluster (e.g. Random Forest). Using 10-fold cross-validati...
I want to associate code defects with code complexity metrics like closeness. One common model is to view this as a Poisson process, where the duration is how much time is spent coding and the density is a function of the code complexity. I am able to do a regression and get significance values etc. However, it's hard ...