RandBivariate Parameters

Top  Previous  Next


$p=RandBivariate(lowx, highx, slope, intercept, targetr, number)


Generates number random bivariate data points with the x values ranging from lowx to highx. The data will approximately fit a linear regression line with the given slope and intercept with a correlation coefficient of approximately targetr.


If you want data with a negative correlation, you MUST enter a negative slope, NOT a negative targetr.


A RandBivariate parameter is regeneratable. Every time you regenerate, you will be provided with a fresh set of data.


A RandBivariate parameter can be used for statistical calculations in the inline calculator.