instruction stringlengths 9 38.7k |
|---|
I must find a kernel that statisfies as follows:
In the my reference paper, the author suggest gaussian kernel that is
The purpose of that kernel is that it will take a weight for each points around center point (mean value), ànd that weighted value decreases drastically to zero as points go away from center point
T... |
I have a complete dataset with input variables and response variables. I would like to perform a simulation where I give the input variables and generate randomly the response variables.
Is there a way to do that without using parametric models (like in machine learning), or do I have to find a conditional joint distr... |
I am trying to work out whether mobile, desktop or tablet users are more likely to perform an action on a site.
The data I have is structured as follows:
week clicked mobile tablet desktop
1 1 104 97 205
1 0 204 214 348
2 1 ... |
I'm working on a project to estimate real estate and started with some classique techniques, such as linear regression etc. The obtained results are already going in the good direction, but to get some more precise results, I've started to lookup some more advanced models.
First I've looked into a spatial autoregressiv... |
I'm trying to analyze if there are correlations between binomial dataset. I have binomial data (presence/absence) of two variables in different periods and I need to know what is the best way to find some relationship. Data were taken annually from the same samples.
|
I contact you because my case is particular and I don’t know much about GLMM.
I have data of social networks (network metrics) of a nonhuman primate species. These data are by nature non independent (behaviour between A and B can influence those of C). I also have individual attributes (gender, age, kinship and hierarc... |
I have repeated samples from the following process: Most samples will only contain points that are randomly distributed on a 2-dimensional plane. Sometimes, however, the sample will contain not only randomly distributed points but also some points that will be arranged roughly on a line. I say roughly because the point... |
I have a two-dimensional predictor plane, 0-1-Observations and a priori knowledge of minimal probabilities per combination of the predictors. I would like to fit a model (e.g. GAM from the mgcv package) that yields predictions that lie above the minimal values.
The problem is how to specify the model. The following is ... |
I was wondering how to (or if it is even possible) find the continuous joint distribution between two random variables $x$ and $y$ when you know the continuous marginal density distributions of both $x$ and $y$, and we know there is a correlation between the two random variables, i.e., ${\rm Cor}(x,y)$ = $\rho$ which i... |
I am trying to quantify the effect of a future random shocks on my seasonal ARIMA model. If I have understood the theory correctly, the easiest way is to express my seasonal ARIMA model in its "random shock" form, and calculate the corresponding psi weights.
Is there a way to do this in R? There is ARMAtoMA, but I thin... |
Consider a variable $y$ (typically, $y_i$ is something like number of inhabitants of city $i$) and some given features $X$. Let us assume that these features are continuous (eg. total city area, number of shops, roads). We want to use features $X$ to explain $y$.
Although the variable $y$ should naturally be seen as a ... |
For example, I trained two models: one with SVM and one with KNN.
Final Prediction = 0.4*KNN + 0.6*SVM
Is this considered blending?
|
It seems to me that ensemble learning WILL always give better predictive performance than with just a single learning hypothesis.
So, why don't we use them all the time?
My guess is because of perhaps, computational limitations? (even then, we use weak predictors, so I don't know).
|
I calculated R square for my neural network based on a formula I found somewhere, which goes something like:
$$
R^2=1-\left(\dfrac{
\overset{N}{\underset{j=1}{\sum}}\left(
t_j-o_j
\right)^2
}{
\overset{N}{\underset{j=1}{\sum}}\left(
o_j
\right)^2
}\right)
$$
It should be something around 0.98-0.99. But, when I operate ... |
While working on a big data set made of 10-minutes-points of information - i.e. 144 points per day, 1008 per week and 52560 per year - I encountered a few problem in R. The information concerns electricity load on a source substation during the year.
Multiple seasonality :
The data set clearly shows multiple seasonalit... |
I wish to present the results of my meta-analysis using the best practices possible. I do not find, however, examples in articles similar to what my output is. Here's a simplification of my model and output (using function rma of the Metafor package, R).
rma (yi, vi, mods = ~ varA + varB)
For those unfamiliar with rma... |
I'm learning Linear Regression for Regression from "The Elements of Statistical Learning".
Why
The variance-covariance matrix of the least squares parameter
estimates is easily derived from (3.6) and is given by
$$ Var(\hat{\beta}) = (X^TX)^{-1}\sigma^2. \tag{3.8} $$
Typically one estimates the variance $\sigma^2$ by
... |
I am using logistic regression to predict likelihood of an event occurring. Ultimately, these probabilities are put into a production environment, where we focus as much as possible on hitting our "Yes" predictions. It is therefore useful for us to have an idea of what definitive "hits" or "non-hits" might be a priori ... |
I was able to fit the Longitudinal IRT model in Winbugs for an ordinal response by extending the BUGS code I took from the paper by Curtis in JSS http://www.jstatsoft.org/v36/c01/paper/
However, I am having difficulty introducing a group effect into the code. The data are 7-category ordinal responses coded 1-7, and mea... |
Bagging is the process of creating N learners on N different bootstrap samples, then taking the mean of their predictions.
My question is: Why not use any other type of sampling? Why use bootstrap samples?
|
I'm using the randomForest package in R to analyse a genetic dataset of ca 100 samples with 10.000 genes. The samples are grouped into 5 classes, the smallest being only of 5 samples.
I'm ultimately interested in the proximity matrix, confusion matrix and the variable importances, which is why I don't wish to start by ... |
So I know that the variance of $\bar x$ is usually computed as $\frac{\sigma_x^2}{n}$, and that this assumes the observations are independent. If instead, the observations have some positive serial correlation, I know that the variance of $\bar x$ is larger.
I am trying to do a simulation to show this. However, when I ... |
Is there any similar function in R does the same thing as nonlinearTest() in S-plus? I am currently working on determine the number of regimes,delayed parameter d and threshold values for the threshold value. Or otherwise where can I download a student S-plus? Do I have to use the university computer in order to free ... |
I am working my way through (T.J. Diccio & B. Efron, "Bootstrap Confidence Intervals", Statistical Science, 1996, 11(3), 189–228), and I'm stuck even before I get to the good stuff.
In the introduction, there is a table of before/after treatment values called cd4, and the correlation $\hat\theta$ is given as 0.723. Th... |
What is the difference between parameter estimation which includes system identification and learning in machine learning perspective?
Let say the model is y= Ax.
x is the input and y is the output. In estimation, I have seen parameters to be estimated, maybe in this case it is A and the samples are also estimated (uns... |
I have obtained my results from a path analysis (using MPlus) and I´m not sure how go about writing a results section in APA style. The model is showing a nice fit to the data, my hypotheses are supported, and I have a clear idea of what my result mean, but I just don´t know WHAT statistics are conventionally reported ... |
I have scored pig carcasses for injuries at 2 points; immediately after slaughter (slaughter stage 1 [SS1]) and again after the carcases have been washed, scalded and dehaired (slaughter stage 2 [SS2]). I have used an ordinal scale to record damage - absent, mild, moderate and severe skin damage. I have reason to belie... |
Compact letter displays are similar to grouping bars often used to display the results of a multiple-comparison procedure, but can be used more generally. You give a list of sample means (or other statistics) and associate one or more letters with each mean. Two means sharing the same letter are not significantly diffe... |
In a simple linear regression
$SSR = \sum(\hat{y} - \bar{y})^2$
$SSXY = \sum(x - \bar{x})(y-\bar{y})$
$SSX = \sum(x - \bar{x})^2$
$SSR$ can be computed by dividing $SSXY^2$ by $SSX$. Namely, $SSR = SSXY^2/SSX$
Could someone illustrate mathematically how this is obtained? Thanks!!
|
Im having a problem with calculating a confidence interval for an incidence rate ratio between two populations. Using PROC STDRATE from SAS, I've obtained the Incidence Rate Ratio (the difference in incidence rate between two time periods), the log rate ratio, the standard error and the z-value.
I wonder (1) why on ear... |
I'm used to HLM 7 software and now I'd like to switch to Stata, for multilevel modelling (xtmixed).
To give an example imagine I have students(level1) nested within schools (level2).
In HLM I can easily add a second level variable (for instance schools beauty) choosing the equation of a coefficient (or intercept) which... |
There is a known set of pairs $(y_i, \sigma_i)$ such that
$y_i = x_i + \sigma_i N_i$
$N_i \sim \mathbf{N}(0,1) $ for all $i$
$x_i \sim \rho$ for all $i$
where $y$ is observed value, $x$ is true value.
How to restore the distribution $\rho$ ? It is not neccessarily normal.
|
This might be trivial, but I'm used to HLM7 software output and now I'm switching to Stata (xtmixed).
To give an example imagine I have students (level-1) nested within schools (level-2).
Running an empty model, in HLM, I can easily see the variance component associated to each level, to see how much variation is at le... |
I'm currently have a bit of difficulty determining how to analyze this data via logistic regression analysis.
- Q18 = DV (satisfaction score ranging from 1-10)
- Q10_1 = IV (Customer Service likert score from 1-5)
- Q10_2 = IV (Sales likert score from 1-5)
- Q10_3 = IV (Performance likert score from 1-5)
- Q10_4 =... |
I am trying to build a model to predict one year ahead Earnings per share $(t+1)$ based on variables in year $t$.
I’ve seen a lot of models in practice that use the following methodology:
Earnings(t+1)/#_of_shares(t) ~ x1(t) +x2(t)+x3(t)
and I’m wondering whether
Earnings(t+1)/#ofshares in (t+1) ~ x1(t) +x2(t)+x3(t)... |
I used height, weight, gender and age to regress on BMR (basal metabolic rate) and obtained the following qq plot of residuals
I then regressed the above variables with log BMR and obtained the following qq plot for residuals
Shouldn't I be using log BMR here? If so, how do I interpret my results?
|
My data-set consists of points in globe. Suppose a User visits locations $l_1,l_2,\dots l_n$ (each location in $(lat, long)$ in the city with probability $p_1,p_2,\dots,p_n$ and I want to calculate the expected location visited by the user. How should I go about calculating that? If I use geodesic distance between poin... |
If I have a questionnaire with items on a Likert scale (1 to 5) and a sixth option "I do not know/Does not apply", is it okay to consider a "I do not know/Does not apply" response as a missing value and use an imputation method, just like I would consider and impute the missing values in the case when respondent to not... |
I have a data set of prices, these prices vary across time and across area. I have 18 areas with 32 time periods.
What i want to do is forecast these prices, i have found that a AR(3) process fits the data for each area using first difference.
\begin{equation}
\Delta \hat{y}_t = \hat{\beta}_0 + \hat{\beta}_1 \Delta y_... |
I'm trying to devise a model to rank a number of links according to their popularity. The links refer to upcoming events and job offers, and ideally I'd like to have a reasonably simple model that, given the values of some covariates such as the number of clicks on the link and the number of days remaining till the eve... |
I have a spreadsheet with one object per line. Each column contains values that are parameters of my objects (let's say length, width, height, weight, color). I can classify objects based on color and define classes.
Let's say I am blind, and I therefore don't have access to the color parameter. I want to find a combin... |
I have a data set that consists of census data (5 attributes). Performing PCA, I found that the original data looks like a big chunk (please look at the first picture), and therefore, I decided to use spectral clustering, and the picture below is the representation of the data (the picture is obtained by plotting the h... |
This question may seem too trivial but my basics are not strong and I shall appreciate help in these concepts.
For an n dimensional feature vector and 3 class problem does linear separability need to be checked?,
I am familiar with XOR problem which cannot be modeled by neural network since the class is not linearly ... |
I am currently undertaking forecasting of energy sales (kWh) for our industrial customers. From historical data gathered from 1993 to 2013, a graph of price per kwh against sales kwh shows a positive relationship. Going ahead to generate the model yielded a positive coefficient of price with energy sales. The other ind... |
I am looking at a study that analyzes the effect of an infrastructure index on infant mortality and child mortality rates. The database has (asset) quintile level data for 47 different countries (from surveys that used the same methodology in all countries, althought they took place @ different years), thus there are 4... |
I'm trying to use central limit theorem to compute the mean of the sample, however the population where I'm sampling has value only between 0 and 1, can I use mean of the sample as mean of the population and standard error = (population's standard error / sqrt(n))?
I have done it, but the distribution does not seem a N... |
EDIT
When we add noise to system we say it is white noise. White noise will have a constant power spectral density, flat power spectrum. But what is the advantage of this?
Why do we need iid property?
When we find out the probability density function or is it the distribution function that we need the data to be iid? ... |
I'm trying to develop a non-linear model, but I'd like to have the values for the parameters vary by group. To give you an example, a section of my data (just random numbers here) looks like:
MONTH FUTURE.PC FUTURE.SALES
1 APR 35 1498
2 APR 22 1124
3 MAY 24 744
4 ... |
Alright, I expect this is a silly question, but I don't actually know, so.
Suppose there is some random variable that's distributed on the reals, and all I know about the distribution is its mean $\mu$ and its variance $\sigma^2$. Maximum Entropy would have me say that I should choose the Normal distribution as the one... |
My name is Abhi & I am trying to better understand logistic regression by solving a few practice problem. I am using R and RStudio as the development environment
Problem Statement
Given the age, sex and class(first,second,third) for each passenger can you predict if he survived or died when the titanic sank
Attempt1
... |
My histogram of expected income is as below.
As you can see, income is highly right skewed. I want to divide individuals with regard to income - for example into Low, Middle, and High, and then I want to compare the other properties of individuals in each of the three groups.
Any idea about dividing into groups with h... |
This may seem a trivial question but I have a fundamental problem in understanding learning.
In supervised learning, given and input-output pair, what are we learning? Are we learning the inputs (say features) or the output?
For example, In terms of linear system, let a system be y=Ax ; y is the output and x is the i... |
Assume I have this kind of data:
$
A_{11}\quad A_{21} \\
A_{12}\quad A_{22} \\
A_{13}\quad A_{23} \\
B_{11}\quad B_{21} \\
B_{12}\quad B_{22} \\
B_{13}\quad B_{23} \\
C_{11}\quad C_{21} \\
C_{12}\quad C_{22} \\
C_{13}\quad C_{22} \\
...\quad ... \\
$
where $A$, $B$, $C$, ... represent different individuals.
For each ... |
The one used by option "ward.D" (equivalent to the only Ward option
"ward" in R versions <= 3.0.3) does not implement Ward's (1963)
clustering criterion, whereas option "ward.D2" implements that
criterion (Murtagh and Legendre 2014).
(http://stat.ethz.ch/R-manual/R-patched/library/stats/html/hclust.html)
Appare... |
In a MySQL database there's a table with a single numeric value column. I want to plot the distribution of these values as a bar chart/histogram with the following requirements:
there should be a maximum of N bars (intervals) in the chart
the width of each bar (x-axis range) should be uniform and the height of each b... |
I am beginning to look at high frequency data sets. I have only ever dealt with regularly spaced data up until now so wondering what best practice is.
If I have two time series X and Y with Y being the dependent variable, if both time series are irregular is the only way to regress Y against X to perform some form of i... |
I have supervised learning problem where targets are angles. If I would do simple regression then numbers 360 and 1 would be far away for my model, but actually they are close and predicting x and y coordinates doesn't feels right, since I am trying to predict just one number here. What is the proper way of doing such ... |
I was just doing some thought on the transformation for likelihoods to log likelihoods for binary response models and I realized what I am sure many people have realized before that the transformation is non-standard.
For instance, given a response pattern $x \in 0,1$ and a parameter set $\theta$ with $P$ defined as th... |
I have tested this particular scale and it turns out that it has low reliability index (a=4.5). I have already deleted two items but it only increased a bit by a=.67. My sample size is 25 as part of pilot testing. Does adding more participants increase the reliability index?
I wanted the reliability index to reach a=0... |
I have walking samples from 20 different people. My aim is to detect which walking samples are from which person. I'm trying to achieve this by extracting "walking cycles" from each person's dataset and train a classifier with these "walking cycles". I extracted all cycles: found every walking cycle in the dataset and ... |
Given certain amount of labeled data, we define the net structure, such as number of layers, types of layers, the number of convolutional layers, the number of pooling layers, etc.
And train the parameters using back propagation, meanwhile we show the loss in training procedure and view the testing accuracy in validati... |
For 2 variables to be independent of each other, should the correlation = 0 or mutual information = 0 or covariance = 0. I have seen different conditions and all these are really confusing.
|
Why is forecast error (MAPE) much higher when using weekly periodicity vs monthly? I am using exactly the same data for both.
|
I have always always understood the diagonal of the ROC plot to represent the performance of a "random" classifier (corresponding to an AUC of 0.5). Is this still the case for highly imbalanced problems? (e.g. 10 positives vs 1000 negatives).
If not, is there any way to estimate the ROC-AUC for a "random" classifier (... |
I calculated 4 factors as latent constructs in a Confirmatory Factor Analysis (I use AMOS). Now I am wondering if it is possible to extract some kind of a factor score like I know it from Exploratory Factor Analysis with SPSS to use those as independent variables in a multiple regression analysis.
Can I use the "Data ... |
I am new to Cross Validated SE so I am going to try and formulate my question to the best of my ability.
I have a large data set that contains $5$ different fields. The fields are
Gender-(Male, Female),
Age-(0,18],(18,25],(25,45], (45,65], (65,100],
Region - (Northeast, Midwest, South, West)
MSA - (MSA,Non-MSA)
Doctors... |
I am involved with designing a new diagnosis method for a routine clinical procedure. I want to compare the agreement between operators to the agreement between methods. Is there such a thing as a multidimensional Kappa test, and if so how do I perform it?
EDIT: I could carry out a number of individual Kappa tests, fin... |
In my book:
$\mathbf{X}=(X_1,\ldots,X_n)$
$f(\mathbf{x})$ is the joint density, where $f$ is either $f_0 \text{ or } f_1$.
Suppose we want to test $H_0: f=f_0$ or $H_1: f=f_1$. The test, whose test function is
$$\phi(\mathbf{X})=1\text{ if }\frac{f_1}{f_0}\geq k;$$
$$\phi(\mathbf{X})=0 \text{ otherwise,}$$
(for some $0... |
I'm looking for a Python alternative to R's ETS() from forecast().
It's my understanding that ETS() is one of the best performing forecasting program and I would like to use it. However I am extremely uncomfortable using R and I already have all my data cleaned and set up in Python.
Does anyone know any other packages... |
What is the intuition and the physical meaning of the mathematical expression in convex optimization?
When using optimization algorithms like particle swarm or genetic algorithm, do they have anything do to with convex optimization? Are the algorithms for convex optimization?
|
I am working on an application for a team of industrial hygienists and I need to create a lookup function for the confidence limit for the exceedance fraction. I found what I need from this book: "Occupational Exposure Assessment for Air Contaminants" on page 247
The graph I need is this:
But its a JPEG graph and I ne... |
If we a re fitting a glmer we may get a warning that tells us the model is finding a hard time to converge...e.g.
>Warning message:
In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model failed to converge with max|grad| = 0.00389462 (tol = 0.001)
another way to check convergence discussed in ... |
I've seen a few similar questions about constraining coefficients so they sum to 1, but I'm not sure if there's a simple change in these approaches to allow the sum to be anything in [0,1]. I need to implement this in R.
How do I fit a constrained regression in R so that coefficients total = 1?
Constrained linear regre... |
I would appreciate some guidance regarding the use of a t test vs $\chi^{2}$.
I am looking at some small set of demographic data (n only 13). I have divided up the sample into two sets, those with Body Mass Index (BMI) >= 25 (n = 5) and those with BMI < 25 (n = 8) and computed the means and standard deviations for the ... |
I have two linear regression parameters of interest, b1 and b2. Both parameters are from a linear model built from 14 datapoints and having 7 model parameters, including an intercept.
Interest lies in testing the null hypothesis b2 - b1 = 0 versus its two-sided alternative.
I have two questions concerning this test:
Fi... |
In multilevel models, it is possible to predict (not estimate) the random effects by Empirical Bayes after the model parameters have been estimated.
I know how to use the ranef() command to do that. However, I am interested in understanding the procedure.
Can someone provide an explanation/example how I can derive the... |
I am a land surveyor working on specifications for GPS control networks, and have some questions this forum may help me solve.
We typically measure many lines between points which are converted to 3D vectors, then thrown into a least squares adjustment program. Some of these points are held as "fixed" meaning they alr... |
I was wondering what the following OLS scenario would imply: a variable is endogenous (i.e. correlated with the error term) yet is statistically significant.
Alternatively, what if in, once again OLS, the variable is exogenous yet statistically insignificant (although the overall regression is indeed statistically sign... |
Let's assume we have a training set with $y \in \mathbb{R}$. Thus all the data is between $y_{min}$ and $y_{max}$. If we built a decision tree model it cannot return $y_{pred}$ outside the given range (using any combination of input features). Thus decision tree cannot extrapolate in terms of predicted values. Can a ne... |
Problem
I want to estimate the probability of a user choosing a car or transit as a transport mode. Following is the output of the simple logistic regression:
I want to estimate the probability of choosing car (auto) if INVT for auto = 3, INVT for transit = 7, OVT for auto = 1, OVT for transit = 2.5, OPC for auto =2 ... |
Please, could anyone give an example of a stationary time series? I mean, if for instance $x_{1}$, $x_{2}$, $x_{3}$, $x_{4}$, $x_{5}$ are the 5 first random variables of the series, what would be the joint distribution of ($x_{1}$, $x_{2}$,$x_{3}$, $x_{4}$, $x_{5}$)? And then what would be the joint distribution of ($x... |
As the title says I want to quantify the difference in the rates of sequence change between genes. When I measure the mutation rates between my subgenomes I can determine a significant but slight difference via wilcoxon test (the distributions are gaussian but with tails). This ends up being true for many of the differ... |
I am running a post-hoc analysis on the data collected during an experiment in which 15 unique stimuli were presented to participants. Having run a least squares regression using the lm() function in R I have found significant results for a subset of the data including 90 observations from 6 participants with two conti... |
I understand that if I have two models A and B and A is nested in B then, given some data, I can fit the parameters of A and B using MLE and apply the generalized log likelihood ratio test. In particular, the distribution of the test should be $\chi^2$ with $n$ degrees of freedom where $n$ is the difference in the num... |
I have a simple two-dimensional dataset with columns X1,X2, and [outcome], and I want to try KNN (probably K around 100 or 1000, though ideally CV would be possible). The problem is that my dataset has a couple million rows.
Are there any preferred packages/approaches for dealing with this sort of thing?
|
For each of several subjects, I have mean reaction times for each of several stimuli. For each individual subject, I want to regress the RTs (as Y) against the stimuli (as X) and see if I get a slope that is significantly different from zero. For that, I used Matlab's fitlm function which gives me, for the X predictor,... |
I have a sequence of observations e.g. ["Click", "Scroll", "Hover", "Zoom", "Select"]. I need to predict the next value of this observation sequence but not the next hidden state.
I know that there are three fundamental problems for HMMs:
a) Given the model parameters and observed data, we can estimate the optimal seq... |
I'm trying to do an exact paired permutation test. What does this "mapping" mean?
> library(exactRankTests)
> perm.test(rnorm(10), rnorm(10), paired=TRUE, exact=TRUE)
1-sample Permutation Test (scores mapped into 1:m using rounded scores)
data: rnorm(10) and rnorm(10)
T = 6, p-value = 0.1836
alternative hypothes... |
I am using a one-way independent MANCOVA with 4 dependent variables and a single covariate. My predictor is bivariate. I'm currently trying to test for heterogeneity of regression in SPSS by assessing the interaction between the covariate and predictor. The question is whether I should test the interaction for each de... |
I'm comparing various conditions versus some disease for a large stratified/clustered dataset which purports to account for the entire population after weighting -- hence the use of RR instead of OR. An epidemiologist colleague suggested that I include relative risk in my analysis, but I feel that the version of the co... |
if a stationary time series verifies that each variable depends only on the variable before it, and the joint p.d.f. of $x_i$ and $x_{i-1}$ is $f(x_{i-1},x_i)$,
which is the joint p.d.f. of $x_i,x_{i+1},x_{i+2}$, and of $x_i,x_{i+1},x_{i+2},x_{i+3}$?
|
I was working on an assignment. The data set was really simple, only consisting one independent variable $y$ and dependent variable $x$. Someone suggested me plot a histogram of $y$ before running simple linear regression. He told me that by plotting frequency at y-axis and value of $y$ on x-axis, and then examining wh... |
I am having some difficulty understanding what log uniform distributions are.
Suppose that $\log X$ is uniformly distributed on the interval $[1,e]$. How do I describe $P(X=x)$? It seems like there is more probability mass on the lower numbers so that X itself is not uniformly distributed, but I am having difficulty fo... |
If I go to a certain establishment 12 times in one year (let's just say once a month), and there's a 6.25% chance each time that I go in there that I would run into a person I know, what is the probability that I would run into a person I know at least one time during the course of those 12 occurrences?
Can you tell me... |
Some people pronounce it "LAS-so" and some "las-SOO" (from the rope cowboys throw to catch cows). Which way is "the right one"?
|
This is a question from a coursera course:
Suppose we have a set of examples and Brian comes in and duplicates every example, then randomly reorders the examples. We now have twice as many examples, but no more information about the problem than we had before. If we do not remove the duplicate entries, which one of the... |
I am new to R and I am learning the e1071 packages' svm function.
Following are the few questions I have.
How does the plot function work?
I cannot understand the plotting case with more than 2 factors in the class variable. Like in the line below, why Petal.Width and Petal.Length are chosen as the two dimensions for... |
Consider the following data set train:
z a b c
0 1 40 185
0 1 25 128
0 0 32 100
0 0 29 100
1 1 30 107
0 0 30 133
1 1 38 132
1 1 37 127
1 0 30 184
1 0 40 199
1 1 26 185
0 1 21 185
0 0 21 134
... |
How can I calculate the robust standard error of the predicted y from a linear regression model in R? Any suggestion is appreciated.
|
I have a situation where there are n individuals and p features (variables). I do have their cluster information. Here is an example:
myd <- data.frame (
sub1 = c(1, "AB", "AB", "BB", "BB", "AA", "BB", "AB", "AA", "BB", "AB", "AA", "AB"),
sub2 = c(1, "AB", "BB", "BB", "BB", "AA", "BB", "AB", "AA", "BB", "AB", "AA", "A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.