I'm willing to perform a Linear Discriminant Analysis in Python using my own dataset. However the tutorials I find online only give examples of python's dataset. Can anyone please help me?
Have a look at this walk-through (using Fisher's iris data as an example): https://www.statology.org/linear-discriminant-analysis-in-python/
Obviously, you'll need to construct your own data frame that holds the data points you wish to evaluate, and that the appropriate type (e.g., numeric for IVs) is used. Have a look at this explanation: https://www.w3schools.com/datascience/ds_python_dataframe.asp
Mr. David Morse I appreciate your answer. I'll detailly to these websites in order to perform this analysis.
Mr. Christian Schmidt I'm not sure whether I'm able to able to manipulate my dataset in such way. I want to make this analysis to discover whether the sediments of an Estuary are from the river or from the Ocean. I read a paper in which they make this analysis to infer about this.
César António Mubango Hoguane Which is the data imput? You can compute it using nominal sieve openings and cumulative mass of material by using Linear Discriminant adopted from Sahu (1964). It is s a powerful method to determine sedimentation process.
Sahu, B. K. (1964) Depositional mechanisms from the size analysis of clastic sediments, Journal of Sedimentary Petrology, Vol. 34, No. 1, pp. 73-83.
The link bellow leads to a code that will provide the input variables for the sahu method: mean, sorting (standard deviation), skewness and kurtosis using the logarithmic method described by Folk and Ward (1957).
Folk, R.L., and Ward, W.C. (1957) Brazos River bar, a study in the significance of grainsize parameters, Journal of Sedimentary Petrology, Vol. 27, pp. 3- 26
for each sediment data collection point you can discriminate between different mechanisms and different deposition environments based on this method. But you can better automate the process in the language you want to generate the respective graphics.