jkall / qgis-midvatten-plugin

Midvatten plugin for QGIS
25 stars 8 forks source link

Multiple Linear Regression between variables #100

Open jkall opened 8 years ago

jkall commented 8 years ago

Feature to perform multiple linear regression to predict one variable based on several others.

One particular example that has proven to be useful is to predict water level in one well, based on water level, and derivative of water level, in another well.

HenrikSpa commented 8 years ago

This could be done using the package statsmodels.formula.api in combination with numpy and pandas.

One problem is that pandas seem to be hard to install in Qgis in Windows operation system.

jkall commented 7 years ago

There might be a solution to the panda installation issues if using osgeo4w on windows: https://github.com/jkall/qgis-midvatten-plugin/issues/178

neelamsoni2002 commented 7 years ago

hi I am Neelam soni I am tryin to use this plugin for stratigraphy data but as I load data from csv file it removing all the duplicate observation point entries how can I load all data

HenrikSpa commented 7 years ago

Hi!

I'm glad to see you're trying our plugin!

  1. First make sure your table obs_points contains all obsids that you want to import stratigraphy for.

  2. Make sure your format matches the format of the example file from the plugin tutorial. Se the file stratigraphy.csv here: https://drive.google. com/drive/folders/0B1vhrFUx2OZBRXJSeFFuQ3NPYTA

  3. Check out the general csv import function https://github.com/jkall/qgis- midvatten-plugin/wiki/2.-Import-data#Import-data-using-general-csv-format.

    • Select your file using "Load data from file"
    • Choose "stratigraphy" in the dropdown list "Import to table".
    • Connect the file columns to the database columns using the dropdown lists.
  4. If duplicates are removed while your trying to import data, make sure that each row in your csv file is a unique combination of obsid and stratid. For each obsid, each stratid (stratigraphy layer) must be unique and start with number 1 as the first layer below ground surface and then increase 1 for each layer below.

Best regards, Henrik

2017-09-28 8:10 GMT+02:00 neelamsoni2002 notifications@github.com:

hi I am Neelam soni I am tryin to use this plugin for stratigraphy data but as I load data from csv file it removing all the duplicate observation point entries how can I load all data

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jkall/qgis-midvatten-plugin/issues/100#issuecomment-332737457, or mute the thread https://github.com/notifications/unsubscribe-auth/AQzJIappJh4WLh4hmivnqBiyjpAL2V1rks5smzhDgaJpZM4H9JeD .

-- Henrik Spångmyr Midvatten AB Borganäsvägen 46 784 33 Borlänge Mobil: 070-5607879 Växel: 0243-87620

neelamsoni2002 commented 7 years ago

Thanks Henrik, its really appreciating, your comments helped me a lot. Now i got stuck into 3d view i am not able to generate the 3d as it shown in the tutorial.

thanks Neelam