Mean and standard deviation are not given.
Only regression/ trend line equation and R value are given.
How to simulate 100 nos. data from above scenario?
Do you have the standard deviation of errors? If you don't, you need to assume one value.
From the general equation of linear regression, with an error term e, which follows a normal distribution N(0,sigma_e):
y = mx+n + e
you can simulate y values as follows, assuming that x is in the range of (0,999):
x = runif(100, min = 0, max = 999)
y = m*x+y + rnorm(100, mean = 0, sd = sigma_e)
Saurav Vaia,
The mean is the regression equation itself. However, the std. dev. can/may be back calculated from the R-square value.
Exequiel and Nazmul already gave you the theory. Now if you want a straightforward solution, follow my example.
You have something like this:
--------------------------------------------------------------------
madeup_data
1. I don't have other types of model to compare with ANFIS 2. There are 18 attributes to model Service Quality of Passenger Train from Questionnaire Survey
04 May 2019 5,971 1 View
evolutionary algorithm
03 April 2019 7,256 15 View
GUI learning Matlab
02 March 2019 3,033 4 View
Question survey Service Quality assessment ANFIS
02 March 2019 2,623 1 View
regenerate data
05 June 2018 8,184 9 View
Engineering, Civil Engineering, Geotechnical Engineering related Journal with mid-to-low impact factor. Please do not preferred Indian journals.
02 March 2018 8,633 29 View
Civil Engineering Transportation Engineering Mathematics Statistics Computer Science Any other Engineering
31 December 2017 5,640 1 View
Game Theory, Practical Example Civil Engineering, Transportation Engineering
04 May 2017 3,315 1 View
p value 0.236, 0.643, 0.378 are found. As we know for 90% confidence limit p should less than 0.1 and 95% confidence limit p should less than 0.05. SEM is Structural Equation Model
08 September 2016 3,473 10 View
Transportation Planning Transport demand modeling
08 September 2016 3,780 0 View
I am trying to analyse data from a survey examining what variables affect teachers perceived barriers to incorporating technology into their classroom. I have 5 predictor variables however my DV...
06 August 2024 1,752 3 View
I am using unit level data (IHDS round 2) & Stata 17
06 August 2024 5,725 2 View
Is it possible to conduct a molecular dynamics simulation to see the effects of a specific carbohydrate on the structure of lipids (e.g., micelle structure)? I am a beginner in this field and plan...
03 August 2024 3,371 3 View
I am using a windows system, what software I should use for hydration shell analysis with molecular dynamics?
02 August 2024 3,143 4 View
When we conduct linear regression, there are several assumptions. The assumption of normality is whether the residual errors are normally distributed, not whether a predictor is normal?
31 July 2024 6,164 3 View
Does anyone know of a module for the JAMOVI software that is capable of generating mean separations using the classic letters based on post hoc results (e.g., Tukey test)? If, as I believe, such...
31 July 2024 3,333 4 View
Can we patent a process flow diagram developed using a process simulator but no actual cases is carried out? For example consider a process for certain product manufacture where a new process flow...
31 July 2024 781 1 View
Dear All Gromacs User I would like to restart MD without using checkpint .cpt files? I heard there is a way for acheiveing this. Any input and sugegstions are most welcome. Thanking You Budheswar
29 July 2024 3,084 8 View
If I want to calculate molecular dynamics (Gromacs), do I first need to optimize the geometry of the molecule? For example, I first draw the molecule in Avogadro, and then what? I guess I can't...
28 July 2024 673 3 View
Hello. I have the geometry of a blade in CAD file (stp) and I want to prepare the blade for meshing with turboGrid. I must import this file into designModeler and then transfer to the...
27 July 2024 356 3 View